#B255E6#B255E6

#B255E6 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.7% C 0.218 H 311.2°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B255E6
RGBrgb(178, 85, 230)
HSLhsl(278, 74%, 62%)
HSVhsv(278, 63%, 90%)
CMYKcmyk(22.6%, 63%, 0%, 9.8%)
CIE-LABlab(53.68, 61.04, -58.15)
CIE-LCHlch(53.68, 84.31, 316.39°)
OKLaboklab(62.71% 0.1436 -0.1639)
OKLCHoklch(62.71% 0.218 311.2)
XYZxyz(35.8889, 21.6760, 77.1409)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255E6 #89E655
analogous
#6A55E6 #B255E6 #E655D1
triadic
#B255E6 #E6B255 #55E6B2
tetradic
#B255E6 #E66A55 #89E655 #55D1E6
square
#B255E6 #E66A55 #89E655 #55D1E6
split-complementary
#B255E6 #D1E655 #55E66A
monochromatic
#7519A8 #9A21DD #B255E6 #CA8AEE #E2C0F6

Accessibility & contrast

On white

3.94
#B255E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#B255E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255E6
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255E6#FFFFFF#000000##000000
##B255E61.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#047CEA
Deuteranopia (green-blind)
#4682E3
Tritanopia (blue-blind)
#AC7196
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b255e6;
/* rgb */ color: rgb(178, 85, 230);
/* oklch */ color: oklch(62.7% 0.218 311.2);
Tailwind
colors: {
  custom: {
    50: '#cd8aef',
    500: '#b255e6',
    950: '#000000',
  },
}
SCSS
$custom: #b255e6;
$custom-light: #cd8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#b255e6",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 230
  },
  "hsl": {
    "h": 278.483,
    "s": 74.359,
    "l": 61.765
  },
  "oklch": {
    "l": 0.62714,
    "c": 0.21787,
    "h": 311.2
  },
  "luminance": 0.21675
}

Semantic roles & 50–950 ramp

primary
#B255E6
secondary
#C4E6B1
accent
#D60F57
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B255E6

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

Preview Lab → · Contrast checker → · Palette generator →

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