#B868EC#B868EC

#B868EC is a light, vivid violet. Relative luminance 0.261; OKLCH L 66.3% C 0.199 H 310.0°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B868EC
RGBrgb(184, 104, 236)
HSLhsl(276, 78%, 67%)
HSVhsv(276, 56%, 93%)
CMYKcmyk(22%, 55.9%, 0%, 7.5%)
CIE-LABlab(58.18, 54.51, -54.28)
CIE-LCHlch(58.18, 76.93, 315.12°)
OKLaboklab(66.26% 0.1281 -0.1524)
OKLCHoklch(66.26% 0.199 310)
XYZxyz(39.8549, 26.1478, 82.2881)
Luminance0.2615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B868EC #9CEC68
analogous
#7668EC #B868EC #EC68DE
triadic
#B868EC #ECB868 #68ECB8
tetradic
#B868EC #EC7668 #9CEC68 #68DEEC
square
#B868EC #EC7668 #9CEC68 #68DEEC
split-complementary
#B868EC #DEEC68 #68EC76
monochromatic
#7F18C1 #9E32E5 #B868EC #D29EF3 #EBD5FA

Accessibility & contrast

On white

3.37
#B868EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#B868EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B868EC
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B868EC#FFFFFF#000000##000000
##B868EC1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D88F0
Deuteranopia (green-blind)
#5B8DE9
Tritanopia (blue-blind)
#B180A0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b868ec;
/* rgb */ color: rgb(184, 104, 236);
/* oklch */ color: oklch(66.3% 0.199 310.0);
Tailwind
colors: {
  custom: {
    50: '#d096f3',
    500: '#b868ec',
    950: '#000000',
  },
}
SCSS
$custom: #b868ec;
$custom-light: #d096f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b868ec",
  "rgb": {
    "r": 184,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 276.364,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66255,
    "c": 0.19909,
    "h": 310
  },
  "luminance": 0.26147
}

Semantic roles & 50–950 ramp

primary
#B868EC
secondary
#D3EDC3
accent
#DA0C5D
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B868EC

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

Preview Lab → · Contrast checker → · Palette generator →

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