#B566F2#B566F2

#B566F2 is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 66.0% C 0.208 H 307.7°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#B566F2
RGBrgb(181, 102, 242)
HSLhsl(274, 84%, 67%)
HSVhsv(274, 58%, 95%)
CMYKcmyk(25.2%, 57.9%, 0%, 5.1%)
CIE-LABlab(57.79, 56.12, -58.27)
CIE-LCHlch(57.79, 80.90, 313.92°)
OKLaboklab(66% 0.127 -0.1642)
OKLCHoklch(66% 0.208 307.7)
XYZxyz(39.8312, 25.7378, 86.8568)
Luminance0.2574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B566F2 #A3F266
analogous
#6F66F2 #B566F2 #F266E9
triadic
#B566F2 #F2B566 #66F2B5
tetradic
#B566F2 #F26F66 #A3F266 #66E9F2
square
#B566F2 #F26F66 #A3F266 #66E9F2
split-complementary
#B566F2 #E9F266 #66F26F
monochromatic
#7B11CC #9A2EED #B566F2 #D09EF7 #ECD7FC

Accessibility & contrast

On white

3.42
#B566F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#B566F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B566F2
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B566F2#FFFFFF#000000##000000
##B566F21.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F88F7
Deuteranopia (green-blind)
#518CEF
Tritanopia (blue-blind)
#AC81A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b566f2;
/* rgb */ color: rgb(181, 102, 242);
/* oklch */ color: oklch(66.0% 0.208 307.7);
Tailwind
colors: {
  custom: {
    50: '#cf95f7',
    500: '#b566f2',
    950: '#000000',
  },
}
SCSS
$custom: #b566f2;
$custom-light: #cf95f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b566f2",
  "rgb": {
    "r": 181,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 273.857,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66002,
    "c": 0.20756,
    "h": 307.7
  },
  "luminance": 0.25737
}

Semantic roles & 50–950 ramp

primary
#B566F2
secondary
#D7F0C4
accent
#E10565
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B566F2

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

Preview Lab → · Contrast checker → · Palette generator →

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