#CB4FE2#CB4FE2

#CB4FE2 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.9% C 0.232 H 321.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#CB4FE2
RGBrgb(203, 79, 226)
HSLhsl(291, 72%, 60%)
HSVhsv(291, 65%, 89%)
CMYKcmyk(10.2%, 65%, 0%, 11.4%)
CIE-LABlab(55.87, 68.48, -52.21)
CIE-LCHlch(55.87, 86.11, 322.67°)
OKLaboklab(64.92% 0.1802 -0.1457)
OKLCHoklch(64.92% 0.232 321)
XYZxyz(41.1505, 23.7815, 74.3595)
Luminance0.2378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4FE2 #66E24F
analogous
#814FE2 #CB4FE2 #E24FB0
triadic
#CB4FE2 #E2CB4F #4FE2CB
tetradic
#CB4FE2 #E2814F #66E24F #4FB0E2
square
#CB4FE2 #E2814F #66E24F #4FB0E2
split-complementary
#CB4FE2 #B0E24F #4FE281
monochromatic
#881A9D #B622D1 #CB4FE2 #DB84EB #EAB8F3

Accessibility & contrast

On white

3.65
#CB4FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#CB4FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4FE2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4FE2#FFFFFF#000000##000000
##CB4FE21.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#247DE6
Deuteranopia (green-blind)
#5F8ADE
Tritanopia (blue-blind)
#CD6892
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cb4fe2;
/* rgb */ color: rgb(203, 79, 226);
/* oklch */ color: oklch(64.9% 0.232 321.0);
Tailwind
colors: {
  custom: {
    50: '#de89ec',
    500: '#cb4fe2',
    950: '#000000',
  },
}
SCSS
$custom: #cb4fe2;
$custom-light: #de89ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4fe2",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 290.612,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64915,
    "c": 0.23174,
    "h": 321
  },
  "luminance": 0.23779
}

Semantic roles & 50–950 ramp

primary
#CB4FE2
secondary
#B3E3AA
accent
#EE3956
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CB4FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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