#B566F9#B566F9

#B566F9 is a light, highly saturated violet. Relative luminance 0.262; OKLCH L 66.4% C 0.215 H 306.2°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B566F9
RGBrgb(181, 102, 249)
HSLhsl(272, 92%, 69%)
HSVhsv(272, 59%, 98%)
CMYKcmyk(27.3%, 59%, 0%, 2.4%)
CIE-LABlab(58.19, 57.69, -61.50)
CIE-LCHlch(58.19, 84.32, 313.17°)
OKLaboklab(66.43% 0.127 -0.1737)
OKLCHoklch(66.43% 0.215 306.2)
XYZxyz(40.9027, 26.1664, 92.5000)
Luminance0.2617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B566F9 #AAF966
analogous
#6C66F9 #B566F9 #F966F4
triadic
#B566F9 #F9B566 #66F9B5
tetradic
#B566F9 #F96C66 #AAF966 #66F4F9
square
#B566F9 #F96C66 #AAF966 #66F4F9
split-complementary
#B566F9 #F4F966 #66F96C
monochromatic
#7A09DC #992BF7 #B566F9 #D1A1FB #EEDCFE

Accessibility & contrast

On white

3.37
#B566F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#B566F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B566F9
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B566F9#FFFFFF#000000##000000
##B566F91.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2289FE
Deuteranopia (green-blind)
#4A8CF6
Tritanopia (blue-blind)
#AA83A6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b566f9;
/* rgb */ color: rgb(181, 102, 249);
/* oklch */ color: oklch(66.4% 0.215 306.2);
Tailwind
colors: {
  custom: {
    50: '#cf95fc',
    500: '#b566f9',
    950: '#000000',
  },
}
SCSS
$custom: #b566f9;
$custom-light: #cf95fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b566f9",
  "rgb": {
    "r": 181,
    "g": 102,
    "b": 249
  },
  "hsl": {
    "h": 272.245,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6643,
    "c": 0.21511,
    "h": 306.2
  },
  "luminance": 0.26166
}

Semantic roles & 50–950 ramp

primary
#B566F9
secondary
#DCF3C8
accent
#E6006A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B566F9

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

Preview Lab → · Contrast checker → · Palette generator →

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