#CB8FEA#CB8FEA

#CB8FEA is a light, vivid violet. Relative luminance 0.383; OKLCH L 74.2% C 0.142 H 313.5°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#CB8FEA
RGBrgb(203, 143, 234)
HSLhsl(280, 68%, 74%)
HSVhsv(280, 39%, 92%)
CMYKcmyk(13.2%, 38.9%, 0%, 8.2%)
CIE-LABlab(68.23, 38.68, -37.20)
CIE-LCHlch(68.23, 53.66, 316.12°)
OKLaboklab(74.17% 0.0975 -0.1026)
OKLCHoklch(74.17% 0.142 313.5)
XYZxyz(49.2999, 38.2829, 82.6182)
Luminance0.3828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8FEA #AEEA8F
analogous
#9E8FEA #CB8FEA #EA8FDC
triadic
#CB8FEA #EACB8F #8FEACB
tetradic
#CB8FEA #EA9E8F #AEEA8F #8FDCEA
square
#CB8FEA #EA9E8F #AEEA8F #8FDCEA
split-complementary
#CB8FEA #DCEA8F #8FEA9E
monochromatic
#9B28D6 #B35BE0 #CB8FEA #E3C3F4 #F3E5FA

Accessibility & contrast

On white

2.43
#CB8FEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#CB8FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8FEA
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8FEA#FFFFFF#000000##000000
##CB8FEA1.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA3ED
Deuteranopia (green-blind)
#8DA8E7
Tritanopia (blue-blind)
#C99CB2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cb8fea;
/* rgb */ color: rgb(203, 143, 234);
/* oklch */ color: oklch(74.2% 0.142 313.5);
Tailwind
colors: {
  custom: {
    50: '#dcb1f1',
    500: '#cb8fea',
    950: '#000000',
  },
}
SCSS
$custom: #cb8fea;
$custom-light: #dcb1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8fea",
  "rgb": {
    "r": 203,
    "g": 143,
    "b": 234
  },
  "hsl": {
    "h": 279.56,
    "s": 68.421,
    "l": 73.922
  },
  "oklch": {
    "l": 0.7417,
    "c": 0.14156,
    "h": 313.5
  },
  "luminance": 0.38282
}

Semantic roles & 50–950 ramp

primary
#CB8FEA
secondary
#E2F2D9
accent
#D01555
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151116
muted
#838084

Preview Lab

Preview with #CB8FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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