#CB4EE7#CB4EE7

#CB4EE7 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.1% C 0.237 H 319.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#CB4EE7
RGBrgb(203, 78, 231)
HSLhsl(289, 76%, 61%)
HSVhsv(289, 66%, 91%)
CMYKcmyk(12.1%, 66.2%, 0%, 9.4%)
CIE-LABlab(56.00, 69.79, -54.81)
CIE-LCHlch(56.00, 88.74, 321.86°)
OKLaboklab(65.1% 0.1812 -0.1533)
OKLCHoklch(65.1% 0.237 319.8)
XYZxyz(41.7750, 23.9168, 78.0018)
Luminance0.2392 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4EE7 #6AE74E
analogous
#7F4EE7 #CB4EE7 #E74EB6
triadic
#CB4EE7 #E7CB4E #4EE7CB
tetradic
#CB4EE7 #E77F4E #6AE74E #4EB6E7
square
#CB4EE7 #E77F4E #6AE74E #4EB6E7
split-complementary
#CB4EE7 #B6E74E #4EE77F
monochromatic
#8A16A4 #B81EDA #CB4EE7 #DB84EE #EBBAF6

Accessibility & contrast

On white

3.63
#CB4EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#CB4EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4EE7
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4EE7#FFFFFF#000000##000000
##CB4EE71.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#157EEB
Deuteranopia (green-blind)
#5A8BE3
Tritanopia (blue-blind)
#CC6995
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cb4ee7;
/* rgb */ color: rgb(203, 78, 231);
/* oklch */ color: oklch(65.1% 0.237 319.8);
Tailwind
colors: {
  custom: {
    50: '#df89ef',
    500: '#cb4ee7',
    950: '#000000',
  },
}
SCSS
$custom: #cb4ee7;
$custom-light: #df89ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4ee7",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 231
  },
  "hsl": {
    "h": 289.02,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.65103,
    "c": 0.23733,
    "h": 319.8
  },
  "luminance": 0.23915
}

Semantic roles & 50–950 ramp

primary
#CB4EE7
secondary
#B6E5AB
accent
#D80D32
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CB4EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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