#CB74EE#CB74EE

#CB74EE is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.2% C 0.190 H 315.4°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#CB74EE
RGBrgb(203, 116, 238)
HSLhsl(283, 78%, 69%)
HSVhsv(283, 51%, 93%)
CMYKcmyk(14.7%, 51.3%, 0%, 6.7%)
CIE-LABlab(62.81, 53.72, -47.90)
CIE-LCHlch(62.81, 71.98, 318.28°)
OKLaboklab(70.19% 0.1354 -0.1334)
OKLCHoklch(70.19% 0.19 315.4)
XYZxyz(46.3042, 31.3617, 84.4866)
Luminance0.3136 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB74EE #97EE74
analogous
#8E74EE #CB74EE #EE74D4
triadic
#CB74EE #EECB74 #74EECB
tetradic
#CB74EE #EE8E74 #97EE74 #74D4EE
square
#CB74EE #EE8E74 #97EE74 #74D4EE
split-complementary
#CB74EE #D4EE74 #74EE8E
monochromatic
#9A19CE #B73DE7 #CB74EE #DFABF5 #F4E1FB

Accessibility & contrast

On white

2.89
#CB74EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#CB74EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB74EE
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB74EE#FFFFFF#000000##000000
##CB74EE1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5993F2
Deuteranopia (green-blind)
#749AEB
Tritanopia (blue-blind)
#C987A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb74ee;
/* rgb */ color: rgb(203, 116, 238);
/* oklch */ color: oklch(70.2% 0.190 315.4);
Tailwind
colors: {
  custom: {
    50: '#dd9ff4',
    500: '#cb74ee',
    950: '#000000',
  },
}
SCSS
$custom: #cb74ee;
$custom-light: #dd9ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb74ee",
  "rgb": {
    "r": 203,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 282.787,
    "s": 78.205,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70185,
    "c": 0.19012,
    "h": 315.4
  },
  "luminance": 0.3136
}

Semantic roles & 50–950 ramp

primary
#CB74EE
secondary
#D7F0CD
accent
#DA0B47
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB74EE

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

Preview Lab → · Contrast checker → · Palette generator →

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