#B566F0#B566F0

#B566F0 is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 65.9% C 0.205 H 308.2°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#B566F0
RGBrgb(181, 102, 240)
HSLhsl(274, 82%, 67%)
HSVhsv(274, 58%, 94%)
CMYKcmyk(24.6%, 57.5%, 0%, 5.9%)
CIE-LABlab(57.67, 55.67, -57.34)
CIE-LCHlch(57.67, 79.92, 314.16°)
OKLaboklab(65.88% 0.127 -0.1615)
OKLCHoklch(65.88% 0.205 308.2)
XYZxyz(39.5324, 25.6183, 85.2834)
Luminance0.2562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B566F0 #A1F066
analogous
#7066F0 #B566F0 #F066E6
triadic
#B566F0 #F0B566 #66F0B5
tetradic
#B566F0 #F07066 #A1F066 #66E6F0
square
#B566F0 #F07066 #A1F066 #66E6F0
split-complementary
#B566F0 #E6F066 #66F070
monochromatic
#7B14C8 #9A2EEB #B566F0 #D09EF5 #EBD5FB

Accessibility & contrast

On white

3.43
#B566F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#B566F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B566F0
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B566F0#FFFFFF#000000##000000
##B566F01.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3287F4
Deuteranopia (green-blind)
#538BED
Tritanopia (blue-blind)
#AC80A2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b566f0;
/* rgb */ color: rgb(181, 102, 240);
/* oklch */ color: oklch(65.9% 0.205 308.2);
Tailwind
colors: {
  custom: {
    50: '#cf95f6',
    500: '#b566f0',
    950: '#000000',
  },
}
SCSS
$custom: #b566f0;
$custom-light: #cf95f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b566f0",
  "rgb": {
    "r": 181,
    "g": 102,
    "b": 240
  },
  "hsl": {
    "h": 274.348,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65881,
    "c": 0.20539,
    "h": 308.2
  },
  "luminance": 0.25618
}

Semantic roles & 50–950 ramp

primary
#B566F0
secondary
#D6EFC3
accent
#DF0763
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B566F0

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

Preview Lab → · Contrast checker → · Palette generator →

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