#B866F8#B866F8

#B866F8 is a light, highly saturated violet. Relative luminance 0.265; OKLCH L 66.7% C 0.215 H 307.5°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#B866F8
RGBrgb(184, 102, 248)
HSLhsl(274, 91%, 69%)
HSVhsv(274, 59%, 97%)
CMYKcmyk(25.8%, 58.9%, 0%, 2.7%)
CIE-LABlab(58.48, 58.15, -60.47)
CIE-LCHlch(58.48, 83.89, 313.88°)
OKLaboklab(66.7% 0.1307 -0.1705)
OKLCHoklch(66.7% 0.215 307.5)
XYZxyz(41.4583, 26.4709, 91.7141)
Luminance0.2647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B866F8 #A6F866
analogous
#6F66F8 #B866F8 #F866EF
triadic
#B866F8 #F8B866 #66F8B8
tetradic
#B866F8 #F86F66 #A6F866 #66EFF8
square
#B866F8 #F86F66 #A6F866 #66EFF8
split-complementary
#B866F8 #EFF866 #66F86F
monochromatic
#7F0ADA #9D2BF5 #B866F8 #D3A1FB #EEDBFD

Accessibility & contrast

On white

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

On black

6.29
#B866F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B866F8
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B866F8#FFFFFF#000000##000000
##B866F81.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#278AFD
Deuteranopia (green-blind)
#4E8DF5
Tritanopia (blue-blind)
#AE82A6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b866f8;
/* rgb */ color: rgb(184, 102, 248);
/* oklch */ color: oklch(66.7% 0.215 307.5);
Tailwind
colors: {
  custom: {
    50: '#d195fb',
    500: '#b866f8',
    950: '#000000',
  },
}
SCSS
$custom: #b866f8;
$custom-light: #d195fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b866f8",
  "rgb": {
    "r": 184,
    "g": 102,
    "b": 248
  },
  "hsl": {
    "h": 273.699,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66696,
    "c": 0.21485,
    "h": 307.5
  },
  "luminance": 0.2647
}

Semantic roles & 50–950 ramp

primary
#B866F8
secondary
#DAF3C7
accent
#E60065
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B866F8

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

Preview Lab → · Contrast checker → · Palette generator →

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