#B566F4#B566F4

#B566F4 is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 66.1% C 0.210 H 307.3°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#B566F4
RGBrgb(181, 102, 244)
HSLhsl(273, 87%, 68%)
HSVhsv(273, 58%, 96%)
CMYKcmyk(25.8%, 58.2%, 0%, 4.3%)
CIE-LABlab(57.90, 56.56, -59.19)
CIE-LCHlch(57.90, 81.87, 313.70°)
OKLaboklab(66.12% 0.127 -0.1669)
OKLCHoklch(66.12% 0.21 307.3)
XYZxyz(40.1332, 25.8586, 88.4474)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B566F4 #A5F466
analogous
#6E66F4 #B566F4 #F466EC
triadic
#B566F4 #F4B566 #66F4B5
tetradic
#B566F4 #F46E66 #A5F466 #66ECF4
square
#B566F4 #F46E66 #A5F466 #66ECF4
split-complementary
#B566F4 #ECF466 #66F46E
monochromatic
#7B0FD1 #992DF0 #B566F4 #D19FF8 #ECD8FC

Accessibility & contrast

On white

3.40
#B566F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#B566F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B566F4
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B566F4#FFFFFF#000000##000000
##B566F41.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C88F9
Deuteranopia (green-blind)
#4F8CF1
Tritanopia (blue-blind)
#AB81A4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b566f4;
/* rgb */ color: rgb(181, 102, 244);
/* oklch */ color: oklch(66.1% 0.210 307.3);
Tailwind
colors: {
  custom: {
    50: '#cf95f8',
    500: '#b566f4',
    950: '#000000',
  },
}
SCSS
$custom: #b566f4;
$custom-light: #cf95f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b566f4",
  "rgb": {
    "r": 181,
    "g": 102,
    "b": 244
  },
  "hsl": {
    "h": 273.38,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66123,
    "c": 0.20971,
    "h": 307.3
  },
  "luminance": 0.25858
}

Semantic roles & 50–950 ramp

primary
#B566F4
secondary
#D8F1C5
accent
#E30266
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B566F4

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

Preview Lab → · Contrast checker → · Palette generator →

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