#CB4EF4#CB4EF4

#CB4EF4 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.9% C 0.249 H 316.6°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#CB4EF4
RGBrgb(203, 78, 244)
HSLhsl(285, 88%, 63%)
HSVhsv(285, 68%, 96%)
CMYKcmyk(16.8%, 68%, 0%, 4.3%)
CIE-LABlab(56.76, 72.22, -60.87)
CIE-LCHlch(56.76, 94.45, 319.88°)
OKLaboklab(65.89% 0.1806 -0.171)
OKLCHoklch(65.89% 0.249 316.6)
XYZxyz(43.6797, 24.6787, 88.0330)
Luminance0.2468 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4EF4 #77F44E
analogous
#784EF4 #CB4EF4 #F44ECA
triadic
#CB4EF4 #F4CB4E #4EF4CB
tetradic
#CB4EF4 #F4784E #77F44E #4ECAF4
square
#CB4EF4 #F4784E #77F44E #4ECAF4
split-complementary
#CB4EF4 #CAF44E #4EF478
monochromatic
#900CBC #BA14F0 #CB4EF4 #DC88F8 #EDC1FB

Accessibility & contrast

On white

3.54
#CB4EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#CB4EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4EF4
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4EF4#FFFFFF#000000##000000
##CB4EF41.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F9
Deuteranopia (green-blind)
#4F8CF0
Tritanopia (blue-blind)
#C96F9C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb4ef4;
/* rgb */ color: rgb(203, 78, 244);
/* oklch */ color: oklch(65.9% 0.249 316.6);
Tailwind
colors: {
  custom: {
    50: '#df89f8',
    500: '#cb4ef4',
    950: '#000000',
  },
}
SCSS
$custom: #cb4ef4;
$custom-light: #df89f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4ef4",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 244
  },
  "hsl": {
    "h": 285.181,
    "s": 88.298,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65888,
    "c": 0.24871,
    "h": 316.6
  },
  "luminance": 0.24677
}

Semantic roles & 50–950 ramp

primary
#CB4EF4
secondary
#C0EDB1
accent
#E50139
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #CB4EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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