#CB4FE8#CB4FE8

#CB4FE8 is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.3% C 0.237 H 319.5°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#CB4FE8
RGBrgb(203, 79, 232)
HSLhsl(289, 77%, 61%)
HSVhsv(289, 66%, 91%)
CMYKcmyk(12.5%, 65.9%, 0%, 9%)
CIE-LABlab(56.20, 69.58, -55.05)
CIE-LCHlch(56.20, 88.72, 321.65°)
OKLaboklab(65.27% 0.1801 -0.154)
OKLCHoklch(65.27% 0.237 319.5)
XYZxyz(41.9882, 24.1166, 78.7716)
Luminance0.2412 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4FE8 #6CE84F
analogous
#7E4FE8 #CB4FE8 #E84FB9
triadic
#CB4FE8 #E8CB4F #4FE8CB
tetradic
#CB4FE8 #E87E4F #6CE84F #4FB9E8
square
#CB4FE8 #E87E4F #6CE84F #4FB9E8
split-complementary
#CB4FE8 #B9E84F #4FE87E
monochromatic
#8B16A7 #B91DDD #CB4FE8 #DB85EF #EBBBF6

Accessibility & contrast

On white

3.61
#CB4FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#CB4FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4FE8
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4FE8#FFFFFF#000000##000000
##CB4FE81.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#167EED
Deuteranopia (green-blind)
#5A8BE4
Tritanopia (blue-blind)
#CB6A95
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb4fe8;
/* rgb */ color: rgb(203, 79, 232);
/* oklch */ color: oklch(65.3% 0.237 319.5);
Tailwind
colors: {
  custom: {
    50: '#df89f0',
    500: '#cb4fe8',
    950: '#000000',
  },
}
SCSS
$custom: #cb4fe8;
$custom-light: #df89f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4fe8",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 288.627,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65265,
    "c": 0.23696,
    "h": 319.5
  },
  "luminance": 0.24115
}

Semantic roles & 50–950 ramp

primary
#CB4FE8
secondary
#B7E6AD
accent
#D90C33
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #CB4FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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