#B566FB#B566FB

#B566FB is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.6% C 0.217 H 305.7°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#B566FB
RGBrgb(181, 102, 251)
HSLhsl(272, 95%, 69%)
HSVhsv(272, 59%, 98%)
CMYKcmyk(27.9%, 59.4%, 0%, 1.6%)
CIE-LABlab(58.31, 58.14, -62.41)
CIE-LCHlch(58.31, 85.30, 312.97°)
OKLaboklab(66.55% 0.1269 -0.1763)
OKLCHoklch(66.55% 0.217 305.7)
XYZxyz(41.2163, 26.2919, 94.1516)
Luminance0.2629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B566FB #ACFB66
analogous
#6B66FB #B566FB #FB66F6
triadic
#B566FB #FBB566 #66FBB5
tetradic
#B566FB #FB6B66 #ACFB66 #66F6FB
square
#B566FB #FB6B66 #ACFB66 #66F6FB
split-complementary
#B566FB #F6FB66 #66FB6B
monochromatic
#7A06E1 #982AF9 #B566FB #D2A2FD #EFDDFE

Accessibility & contrast

On white

3.36
#B566FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#B566FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B566FB
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B566FB#FFFFFF#000000##000000
##B566FB1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D8AFF
Deuteranopia (green-blind)
#488DF8
Tritanopia (blue-blind)
#A984A7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b566fb;
/* rgb */ color: rgb(181, 102, 251);
/* oklch */ color: oklch(66.6% 0.217 305.7);
Tailwind
colors: {
  custom: {
    50: '#cf95fd',
    500: '#b566fb',
    950: '#000000',
  },
}
SCSS
$custom: #b566fb;
$custom-light: #cf95fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b566fb",
  "rgb": {
    "r": 181,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 271.812,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66554,
    "c": 0.21727,
    "h": 305.7
  },
  "luminance": 0.26292
}

Semantic roles & 50–950 ramp

primary
#B566FB
secondary
#DDF4C9
accent
#E6006C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B566FB

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

Preview Lab → · Contrast checker → · Palette generator →

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