#CB4FE6#CB4FE6

#CB4FE6 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.1% C 0.235 H 320.0°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#CB4FE6
RGBrgb(203, 79, 230)
HSLhsl(289, 75%, 61%)
HSVhsv(289, 66%, 90%)
CMYKcmyk(11.7%, 65.7%, 0%, 9.8%)
CIE-LABlab(56.09, 69.21, -54.11)
CIE-LCHlch(56.09, 87.85, 321.98°)
OKLaboklab(65.15% 0.1801 -0.1513)
OKLCHoklch(65.15% 0.235 320)
XYZxyz(41.7057, 24.0036, 77.2839)
Luminance0.2400 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4FE6 #6AE64F
analogous
#804FE6 #CB4FE6 #E64FB5
triadic
#CB4FE6 #E6CB4F #4FE6CB
tetradic
#CB4FE6 #E6804F #6AE64F #4FB5E6
square
#CB4FE6 #E6804F #6AE64F #4FB5E6
split-complementary
#CB4FE6 #B5E64F #4FE680
monochromatic
#8A17A3 #B81FD9 #CB4FE6 #DB85EE #EBBAF5

Accessibility & contrast

On white

3.62
#CB4FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#CB4FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4FE6
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4FE6#FFFFFF#000000##000000
##CB4FE61.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7EEA
Deuteranopia (green-blind)
#5C8BE2
Tritanopia (blue-blind)
#CC6A94
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cb4fe6;
/* rgb */ color: rgb(203, 79, 230);
/* oklch */ color: oklch(65.1% 0.235 320.0);
Tailwind
colors: {
  custom: {
    50: '#de89ee',
    500: '#cb4fe6',
    950: '#000000',
  },
}
SCSS
$custom: #cb4fe6;
$custom-light: #de89ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4fe6",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 289.272,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.65147,
    "c": 0.23522,
    "h": 320
  },
  "luminance": 0.24002
}

Semantic roles & 50–950 ramp

primary
#CB4FE6
secondary
#B6E5AC
accent
#D70E32
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CB4FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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