#B566EA#B566EA

#B566EA is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.5% C 0.199 H 309.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B566EA
RGBrgb(181, 102, 234)
HSLhsl(276, 76%, 66%)
HSVhsv(276, 56%, 92%)
CMYKcmyk(22.6%, 56.4%, 0%, 8.2%)
CIE-LABlab(57.34, 54.35, -54.53)
CIE-LCHlch(57.34, 76.99, 314.90°)
OKLaboklab(65.53% 0.1268 -0.1532)
OKLCHoklch(65.53% 0.199 309.6)
XYZxyz(38.6559, 25.2677, 80.6667)
Luminance0.2527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B566EA #9BEA66
analogous
#7366EA #B566EA #EA66DD
triadic
#B566EA #EAB566 #66EAB5
tetradic
#B566EA #EA7366 #9BEA66 #66DDEA
square
#B566EA #EA7366 #9BEA66 #66DDEA
split-complementary
#B566EA #DDEA66 #66EA73
monochromatic
#7B1ABC #9B30E3 #B566EA #CF9CF1 #E9D2F9

Accessibility & contrast

On white

3.47
#B566EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#B566EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B566EA
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B566EA#FFFFFF#000000##000000
##B566EA1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A86EE
Deuteranopia (green-blind)
#588BE7
Tritanopia (blue-blind)
#AE7E9E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b566ea;
/* rgb */ color: rgb(181, 102, 234);
/* oklch */ color: oklch(65.5% 0.199 309.6);
Tailwind
colors: {
  custom: {
    50: '#ce95f1',
    500: '#b566ea',
    950: '#000000',
  },
}
SCSS
$custom: #b566ea;
$custom-light: #ce95f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b566ea",
  "rgb": {
    "r": 181,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 275.909,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65525,
    "c": 0.19892,
    "h": 309.6
  },
  "luminance": 0.25267
}

Semantic roles & 50–950 ramp

primary
#B566EA
secondary
#D2ECC0
accent
#D80D5F
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B566EA

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

Preview Lab → · Contrast checker → · Palette generator →

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