#B868EA#B868EA

#B868EA is a light, vivid violet. Relative luminance 0.260; OKLCH L 66.1% C 0.197 H 310.5°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#B868EA
RGBrgb(184, 104, 234)
HSLhsl(277, 76%, 66%)
HSVhsv(277, 56%, 92%)
CMYKcmyk(21.4%, 55.6%, 0%, 8.2%)
CIE-LABlab(58.07, 54.08, -53.34)
CIE-LCHlch(58.07, 75.96, 315.39°)
OKLaboklab(66.14% 0.128 -0.1497)
OKLCHoklch(66.14% 0.197 310.5)
XYZxyz(39.5660, 26.0323, 80.7664)
Luminance0.2603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B868EA #9AEA68
analogous
#7768EA #B868EA #EA68DB
triadic
#B868EA #EAB868 #68EAB8
tetradic
#B868EA #EA7768 #9AEA68 #68DBEA
square
#B868EA #EA7768 #9AEA68 #68DBEA
split-complementary
#B868EA #DBEA68 #68EA77
monochromatic
#7F1ABD #9F32E3 #B868EA #D19EF1 #EBD3F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B868EA#FFFFFF#000000##000000
##B868EA1.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)
#3F88EE
Deuteranopia (green-blind)
#5C8DE7
Tritanopia (blue-blind)
#B27F9F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b868ea;
/* rgb */ color: rgb(184, 104, 234);
/* oklch */ color: oklch(66.1% 0.197 310.5);
Tailwind
colors: {
  custom: {
    50: '#d096f1',
    500: '#b868ea',
    950: '#000000',
  },
}
SCSS
$custom: #b868ea;
$custom-light: #d096f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b868ea",
  "rgb": {
    "r": 184,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 276.923,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66139,
    "c": 0.19694,
    "h": 310.5
  },
  "luminance": 0.26031
}

Semantic roles & 50–950 ramp

primary
#B868EA
secondary
#D2ECC2
accent
#D80E5B
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B868EA

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

Preview Lab → · Contrast checker → · Palette generator →

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