#B255EB#B255EB

#B255EB is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 63.0% C 0.223 H 310.0°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B255EB
RGBrgb(178, 85, 235)
HSLhsl(277, 79%, 63%)
HSVhsv(277, 64%, 92%)
CMYKcmyk(24.3%, 63.8%, 0%, 7.8%)
CIE-LABlab(53.99, 62.10, -60.47)
CIE-LCHlch(53.99, 86.68, 315.76°)
OKLaboklab(63.03% 0.1433 -0.1707)
OKLCHoklch(63.03% 0.223 310)
XYZxyz(36.6011, 21.9609, 80.8919)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255EB #8EEB55
analogous
#6755EB #B255EB #EB55D9
triadic
#B255EB #EBB255 #55EBB2
tetradic
#B255EB #EB6755 #8EEB55 #55D9EB
square
#B255EB #EB6755 #8EEB55 #55D9EB
split-complementary
#B255EB #D9EB55 #55EB67
monochromatic
#7615B1 #991EE5 #B255EB #CB8CF1 #E4C3F8

Accessibility & contrast

On white

3.89
#B255EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#B255EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255EB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255EB#FFFFFF#000000##000000
##B255EB1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#4183E8
Tritanopia (blue-blind)
#AA7399
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b255eb;
/* rgb */ color: rgb(178, 85, 235);
/* oklch */ color: oklch(63.0% 0.223 310.0);
Tailwind
colors: {
  custom: {
    50: '#cd8af2',
    500: '#b255eb',
    950: '#000000',
  },
}
SCSS
$custom: #b255eb;
$custom-light: #cd8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#b255eb",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 235
  },
  "hsl": {
    "h": 277.2,
    "s": 78.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6303,
    "c": 0.22288,
    "h": 310
  },
  "luminance": 0.2196
}

Semantic roles & 50–950 ramp

primary
#B255EB
secondary
#C7E9B3
accent
#DB0A5A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B255EB

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B255EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva