#B566FC#B566FC

#B566FC is a light, highly saturated violet. Relative luminance 0.264; OKLCH L 66.6% C 0.218 H 305.5°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#B566FC
RGBrgb(181, 102, 252)
HSLhsl(272, 96%, 69%)
HSVhsv(272, 60%, 99%)
CMYKcmyk(28.2%, 59.5%, 0%, 1.2%)
CIE-LABlab(58.37, 58.37, -62.87)
CIE-LCHlch(58.37, 85.79, 312.87°)
OKLaboklab(66.62% 0.1269 -0.1777)
OKLCHoklch(66.62% 0.218 305.5)
XYZxyz(41.3743, 26.3551, 94.9840)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B566FC #ADFC66
analogous
#6A66FC #B566FC #FC66F8
triadic
#B566FC #FCB566 #66FCB5
tetradic
#B566FC #FC6A66 #ADFC66 #66F8FC
square
#B566FC #FC6A66 #ADFC66 #66F8FC
split-complementary
#B566FC #F8FC66 #66FC6A
monochromatic
#7A04E3 #982AFB #B566FC #D2A2FD #EFDEFE

Accessibility & contrast

On white

3.35
#B566FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#B566FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B566FC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B566FC#FFFFFF#000000##000000
##B566FC1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B8AFF
Deuteranopia (green-blind)
#478DF9
Tritanopia (blue-blind)
#A984A8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b566fc;
/* rgb */ color: rgb(181, 102, 252);
/* oklch */ color: oklch(66.6% 0.218 305.5);
Tailwind
colors: {
  custom: {
    50: '#cf95fe',
    500: '#b566fc',
    950: '#000000',
  },
}
SCSS
$custom: #b566fc;
$custom-light: #cf95fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b566fc",
  "rgb": {
    "r": 181,
    "g": 102,
    "b": 252
  },
  "hsl": {
    "h": 271.6,
    "s": 96.154,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66616,
    "c": 0.21835,
    "h": 305.5
  },
  "luminance": 0.26355
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B566FC

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

Preview Lab → · Contrast checker → · Palette generator →

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