#CB4EC7#CB4EC7

#CB4EC7 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.3% C 0.210 H 329.0°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#CB4EC7
RGBrgb(203, 78, 199)
HSLhsl(302, 55%, 55%)
HSVhsv(302, 62%, 80%)
CMYKcmyk(0%, 61.6%, 2%, 20.4%)
CIE-LABlab(54.31, 64.17, -39.33)
CIE-LCHlch(54.31, 75.26, 328.49°)
OKLaboklab(63.33% 0.1803 -0.1083)
OKLCHoklch(63.33% 0.21 329)
XYZxyz(37.6614, 22.2714, 56.3369)
Luminance0.2227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4EC7 #4ECB52
analogous
#904ECB #CB4EC7 #CB4E88
triadic
#CB4EC7 #C7CB4E #4EC7CB
tetradic
#CB4EC7 #CB904E #4ECB52 #4E88CB
square
#CB4EC7 #CB904E #4ECB52 #4E88CB
split-complementary
#CB4EC7 #88CB4E #4ECB90
monochromatic
#7B2478 #AA32A6 #CB4EC7 #D97DD6 #E7ADE5

Accessibility & contrast

On white

3.85
#CB4EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#CB4EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4EC7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4EC7#FFFFFF#000000##000000
##CB4EC71.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4277CB
Deuteranopia (green-blind)
#6E88C4
Tritanopia (blue-blind)
#D25D84
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cb4ec7;
/* rgb */ color: rgb(203, 78, 199);
/* oklch */ color: oklch(63.3% 0.210 329.0);
Tailwind
colors: {
  custom: {
    50: '#de88d8',
    500: '#cb4ec7',
    950: '#000000',
  },
}
SCSS
$custom: #cb4ec7;
$custom-light: #de88d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4ec7",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 199
  },
  "hsl": {
    "h": 301.92,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63334,
    "c": 0.21035,
    "h": 329
  },
  "luminance": 0.22269
}

Semantic roles & 50–950 ramp

primary
#CB4EC7
secondary
#A0D5A2
accent
#DE4F4A
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CB4EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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