#CB4FEA#CB4FEA

#CB4FEA is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.4% C 0.239 H 318.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#CB4FEA
RGBrgb(203, 79, 234)
HSLhsl(288, 79%, 61%)
HSVhsv(288, 66%, 92%)
CMYKcmyk(13.2%, 66.2%, 0%, 8.2%)
CIE-LABlab(56.32, 69.95, -55.99)
CIE-LCHlch(56.32, 89.60, 321.32°)
OKLaboklab(65.38% 0.18 -0.1568)
OKLCHoklch(65.38% 0.239 318.9)
XYZxyz(42.2739, 24.2309, 80.2762)
Luminance0.2423 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4FEA #6EEA4F
analogous
#7E4FEA #CB4FEA #EA4FBC
triadic
#CB4FEA #EACB4F #4FEACB
tetradic
#CB4FEA #EA7E4F #6EEA4F #4FBCEA
square
#CB4FEA #EA7E4F #6EEA4F #4FBCEA
split-complementary
#CB4FEA #BCEA4F #4FEA7E
monochromatic
#8C14AA #B91BE1 #CB4FEA #DB86F1 #EBBCF7

Accessibility & contrast

On white

3.59
#CB4FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#CB4FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4FEA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4FEA#FFFFFF#000000##000000
##CB4FEA1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F7FEF
Deuteranopia (green-blind)
#598BE6
Tritanopia (blue-blind)
#CB6B96
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb4fea;
/* rgb */ color: rgb(203, 79, 234);
/* oklch */ color: oklch(65.4% 0.239 318.9);
Tailwind
colors: {
  custom: {
    50: '#df89f1',
    500: '#cb4fea',
    950: '#000000',
  },
}
SCSS
$custom: #cb4fea;
$custom-light: #df89f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4fea",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 288,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65383,
    "c": 0.23871,
    "h": 318.9
  },
  "luminance": 0.24229
}

Semantic roles & 50–950 ramp

primary
#CB4FEA
secondary
#B9E7AD
accent
#DB0B34
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #CB4FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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