#CB4EF7#CB4EF7

#CB4EF7 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 66.1% C 0.251 H 315.8°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#CB4EF7
RGBrgb(203, 78, 247)
HSLhsl(284, 91%, 64%)
HSVhsv(284, 68%, 97%)
CMYKcmyk(17.8%, 68.4%, 0%, 3.1%)
CIE-LABlab(56.94, 72.79, -62.25)
CIE-LCHlch(56.94, 95.78, 319.46°)
OKLaboklab(66.07% 0.1804 -0.1751)
OKLCHoklch(66.07% 0.251 315.8)
XYZxyz(44.1389, 24.8624, 90.4515)
Luminance0.2486 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4EF7 #7AF74E
analogous
#764EF7 #CB4EF7 #F74ECE
triadic
#CB4EF7 #F7CB4E #4EF7CB
tetradic
#CB4EF7 #F7764E #7AF74E #4ECEF7
square
#CB4EF7 #F7764E #7AF74E #4ECEF7
split-complementary
#CB4EF7 #CEF74E #4EF776
monochromatic
#9209C2 #BA13F4 #CB4EF7 #DC89FA #EDC3FC

Accessibility & contrast

On white

3.52
#CB4EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#CB4EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4EF7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4EF7#FFFFFF#000000##000000
##CB4EF71.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FC
Deuteranopia (green-blind)
#4C8CF3
Tritanopia (blue-blind)
#C8709D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cb4ef7;
/* rgb */ color: rgb(203, 78, 247);
/* oklch */ color: oklch(66.1% 0.251 315.8);
Tailwind
colors: {
  custom: {
    50: '#df89fb',
    500: '#cb4ef7',
    950: '#000000',
  },
}
SCSS
$custom: #cb4ef7;
$custom-light: #df89fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4ef7",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 247
  },
  "hsl": {
    "h": 284.379,
    "s": 91.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66074,
    "c": 0.25135,
    "h": 315.8
  },
  "luminance": 0.24861
}

Semantic roles & 50–950 ramp

primary
#CB4EF7
secondary
#C2EEB3
accent
#E6003C
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #CB4EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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