#B566FD#B566FD

#B566FD is a light, highly saturated violet. Relative luminance 0.264; OKLCH L 66.7% C 0.219 H 305.3°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B566FD
RGBrgb(181, 102, 253)
HSLhsl(271, 97%, 70%)
HSVhsv(271, 60%, 99%)
CMYKcmyk(28.5%, 59.7%, 0%, 0.8%)
CIE-LABlab(58.43, 58.59, -63.33)
CIE-LCHlch(58.43, 86.28, 312.78°)
OKLaboklab(66.68% 0.1269 -0.179)
OKLCHoklch(66.68% 0.219 305.3)
XYZxyz(41.5332, 26.4186, 95.8207)
Luminance0.2642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B566FD #AEFD66
analogous
#6A66FD #B566FD #FD66F9
triadic
#B566FD #FDB566 #66FDB5
tetradic
#B566FD #FD6A66 #AEFD66 #66F9FD
square
#B566FD #FD6A66 #AEFD66 #66F9FD
split-complementary
#B566FD #F9FD66 #66FD6A
monochromatic
#7A03E6 #982AFC #B566FD #D2A2FE #EFDFFF

Accessibility & contrast

On white

3.34
#B566FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#B566FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B566FD
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B566FD#FFFFFF#000000##000000
##B566FD1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#188AFF
Deuteranopia (green-blind)
#458DFA
Tritanopia (blue-blind)
#A984A8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b566fd;
/* rgb */ color: rgb(181, 102, 253);
/* oklch */ color: oklch(66.7% 0.219 305.3);
Tailwind
colors: {
  custom: {
    50: '#cf95ff',
    500: '#b566fd',
    950: '#000000',
  },
}
SCSS
$custom: #b566fd;
$custom-light: #cf95ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b566fd",
  "rgb": {
    "r": 181,
    "g": 102,
    "b": 253
  },
  "hsl": {
    "h": 271.391,
    "s": 97.419,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66679,
    "c": 0.21943,
    "h": 305.3
  },
  "luminance": 0.26418
}

Semantic roles & 50–950 ramp

primary
#B566FD
secondary
#DEF5CA
accent
#E6006D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B566FD

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

Preview Lab → · Contrast checker → · Palette generator →

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