#CB8EF6#CB8EF6

#CB8EF6 is a light, vivid violet. Relative luminance 0.387; OKLCH L 74.6% C 0.157 H 310.1°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#CB8EF6
RGBrgb(203, 142, 246)
HSLhsl(275, 85%, 76%)
HSVhsv(275, 42%, 96%)
CMYKcmyk(17.5%, 42.3%, 0%, 3.5%)
CIE-LABlab(68.53, 41.76, -43.30)
CIE-LCHlch(68.53, 60.16, 313.96°)
OKLaboklab(74.57% 0.1011 -0.1202)
OKLCHoklch(74.57% 0.157 310.1)
XYZxyz(50.9331, 38.6971, 91.9570)
Luminance0.3870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8EF6 #B9F68E
analogous
#978EF6 #CB8EF6 #F68EED
triadic
#CB8EF6 #F6CB8E #8EF6CB
tetradic
#CB8EF6 #F6978E #B9F68E #8EEDF6
square
#CB8EF6 #F6978E #B9F68E #8EEDF6
split-complementary
#CB8EF6 #EDF68E #8EF697
monochromatic
#971DED #B155F1 #CB8EF6 #E5C7FB #F2E3FD

Accessibility & contrast

On white

2.40
#CB8EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#CB8EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8EF6
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8EF6#FFFFFF#000000##000000
##CB8EF61.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A4FA
Deuteranopia (green-blind)
#87A8F3
Tritanopia (blue-blind)
#C69EB6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cb8ef6;
/* rgb */ color: rgb(203, 142, 246);
/* oklch */ color: oklch(74.6% 0.157 310.1);
Tailwind
colors: {
  custom: {
    50: '#dcb0f9',
    500: '#cb8ef6',
    950: '#000000',
  },
}
SCSS
$custom: #cb8ef6;
$custom-light: #dcb0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8ef6",
  "rgb": {
    "r": 203,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 275.192,
    "s": 85.246,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74568,
    "c": 0.15711,
    "h": 310.1
  },
  "luminance": 0.38696
}

Semantic roles & 50–950 ramp

primary
#CB8EF6
secondary
#E3F5D6
accent
#E20460
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CB8EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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