#B566F7#B566F7

#B566F7 is a light, highly saturated violet. Relative luminance 0.260; OKLCH L 66.3% C 0.213 H 306.6°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#B566F7
RGBrgb(181, 102, 247)
HSLhsl(273, 90%, 68%)
HSVhsv(273, 59%, 97%)
CMYKcmyk(26.7%, 58.7%, 0%, 3.1%)
CIE-LABlab(58.08, 57.24, -60.58)
CIE-LCHlch(58.08, 83.34, 313.38°)
OKLaboklab(66.31% 0.127 -0.171)
OKLCHoklch(66.31% 0.213 306.6)
XYZxyz(40.5924, 26.0423, 90.8659)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B566F7 #A8F766
analogous
#6C66F7 #B566F7 #F766F0
triadic
#B566F7 #F7B566 #66F7B5
tetradic
#B566F7 #F76C66 #A8F766 #66F0F7
square
#B566F7 #F76C66 #A8F766 #66F0F7
split-complementary
#B566F7 #F0F766 #66F76C
monochromatic
#7A0BD7 #992CF4 #B566F7 #D1A0FA #EDDAFD

Accessibility & contrast

On white

3.38
#B566F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#B566F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B566F7
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B566F7#FFFFFF#000000##000000
##B566F71.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2689FC
Deuteranopia (green-blind)
#4C8CF4
Tritanopia (blue-blind)
#AA82A5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b566f7;
/* rgb */ color: rgb(181, 102, 247);
/* oklch */ color: oklch(66.3% 0.213 306.6);
Tailwind
colors: {
  custom: {
    50: '#cf95fa',
    500: '#b566f7',
    950: '#000000',
  },
}
SCSS
$custom: #b566f7;
$custom-light: #cf95fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b566f7",
  "rgb": {
    "r": 181,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 272.69,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66306,
    "c": 0.21295,
    "h": 306.6
  },
  "luminance": 0.26042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B566F7

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

Preview Lab → · Contrast checker → · Palette generator →

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