#CB4FE9#CB4FE9

#CB4FE9 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.3% C 0.238 H 319.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#CB4FE9
RGBrgb(203, 79, 233)
HSLhsl(288, 78%, 61%)
HSVhsv(288, 66%, 91%)
CMYKcmyk(12.9%, 66.1%, 0%, 8.6%)
CIE-LABlab(56.26, 69.76, -55.52)
CIE-LCHlch(56.26, 89.16, 321.48°)
OKLaboklab(65.32% 0.18 -0.1554)
OKLCHoklch(65.32% 0.238 319.2)
XYZxyz(42.1307, 24.1736, 79.5218)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4FE9 #6DE94F
analogous
#7E4FE9 #CB4FE9 #E94FBA
triadic
#CB4FE9 #E9CB4F #4FE9CB
tetradic
#CB4FE9 #E97E4F #6DE94F #4FBAE9
square
#CB4FE9 #E97E4F #6DE94F #4FBAE9
split-complementary
#CB4FE9 #BAE94F #4FE97E
monochromatic
#8C15A9 #B91CDF #CB4FE9 #DB85F0 #EBBCF7

Accessibility & contrast

On white

3.60
#CB4FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#CB4FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4FE9
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4FE9#FFFFFF#000000##000000
##CB4FE91.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#137FEE
Deuteranopia (green-blind)
#598BE5
Tritanopia (blue-blind)
#CB6B96
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb4fe9;
/* rgb */ color: rgb(203, 79, 233);
/* oklch */ color: oklch(65.3% 0.238 319.2);
Tailwind
colors: {
  custom: {
    50: '#df89f1',
    500: '#cb4fe9',
    950: '#000000',
  },
}
SCSS
$custom: #cb4fe9;
$custom-light: #df89f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4fe9",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 233
  },
  "hsl": {
    "h": 288.312,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65324,
    "c": 0.23784,
    "h": 319.2
  },
  "luminance": 0.24172
}

Semantic roles & 50–950 ramp

primary
#CB4FE9
secondary
#B8E7AD
accent
#DA0B34
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #CB4FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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