#B866F7#B866F7

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

Color values

HEX#B866F7
RGBrgb(184, 102, 247)
HSLhsl(274, 90%, 68%)
HSVhsv(274, 59%, 97%)
CMYKcmyk(25.5%, 58.7%, 0%, 3.1%)
CIE-LABlab(58.42, 57.93, -60.00)
CIE-LCHlch(58.42, 83.41, 313.99°)
OKLaboklab(66.64% 0.1307 -0.1692)
OKLCHoklch(66.64% 0.214 307.7)
XYZxyz(41.3036, 26.4090, 90.8992)
Luminance0.2641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B866F7 #A5F766
analogous
#6F66F7 #B866F7 #F766ED
triadic
#B866F7 #F7B866 #66F7B8
tetradic
#B866F7 #F76F66 #A5F766 #66EDF7
square
#B866F7 #F76F66 #A5F766 #66EDF7
split-complementary
#B866F7 #EDF766 #66F76F
monochromatic
#7F0BD7 #9D2CF4 #B866F7 #D3A0FA #EEDAFD

Accessibility & contrast

On white

3.34
#B866F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#B866F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B866F7
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B866F7#FFFFFF#000000##000000
##B866F71.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2989FC
Deuteranopia (green-blind)
#4F8DF4
Tritanopia (blue-blind)
#AE82A5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b866f7;
/* rgb */ color: rgb(184, 102, 247);
/* oklch */ color: oklch(66.6% 0.214 307.7);
Tailwind
colors: {
  custom: {
    50: '#d195fa',
    500: '#b866f7',
    950: '#000000',
  },
}
SCSS
$custom: #b866f7;
$custom-light: #d195fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b866f7",
  "rgb": {
    "r": 184,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 273.931,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66635,
    "c": 0.21378,
    "h": 307.7
  },
  "luminance": 0.26408
}

Semantic roles & 50–950 ramp

primary
#B866F7
secondary
#DAF2C7
accent
#E60064
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B866F7

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

Preview Lab → · Contrast checker → · Palette generator →

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