#B566F6#B566F6

#B566F6 is a light, highly saturated violet. Relative luminance 0.260; OKLCH L 66.2% C 0.212 H 306.8°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#B566F6
RGBrgb(181, 102, 246)
HSLhsl(273, 89%, 68%)
HSVhsv(273, 59%, 96%)
CMYKcmyk(26.4%, 58.5%, 0%, 3.5%)
CIE-LABlab(58.02, 57.01, -60.12)
CIE-LCHlch(58.02, 82.85, 313.48°)
OKLaboklab(66.25% 0.127 -0.1696)
OKLCHoklch(66.25% 0.212 306.8)
XYZxyz(40.4385, 25.9807, 90.0554)
Luminance0.2598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B566F6 #A7F666
analogous
#6D66F6 #B566F6 #F666EF
triadic
#B566F6 #F6B566 #66F6B5
tetradic
#B566F6 #F66D66 #A7F666 #66EFF6
square
#B566F6 #F66D66 #A7F666 #66EFF6
split-complementary
#B566F6 #EFF666 #66F66D
monochromatic
#7B0DD5 #992CF3 #B566F6 #D1A0F9 #EDDAFD

Accessibility & contrast

On white

3.39
#B566F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#B566F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B566F6
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B566F6#FFFFFF#000000##000000
##B566F61.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2889FB
Deuteranopia (green-blind)
#4D8CF3
Tritanopia (blue-blind)
#AB82A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b566f6;
/* rgb */ color: rgb(181, 102, 246);
/* oklch */ color: oklch(66.2% 0.212 306.8);
Tailwind
colors: {
  custom: {
    50: '#cf95fa',
    500: '#b566f6',
    950: '#000000',
  },
}
SCSS
$custom: #b566f6;
$custom-light: #cf95fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b566f6",
  "rgb": {
    "r": 181,
    "g": 102,
    "b": 246
  },
  "hsl": {
    "h": 272.917,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66245,
    "c": 0.21187,
    "h": 306.8
  },
  "luminance": 0.2598
}

Semantic roles & 50–950 ramp

primary
#B566F6
secondary
#DAF2C6
accent
#E60068
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B566F6

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

Preview Lab → · Contrast checker → · Palette generator →

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