#CB74EA#CB74EA

#CB74EA is a light, vivid purple. Relative luminance 0.311; OKLCH L 70.0% C 0.186 H 316.6°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#CB74EA
RGBrgb(203, 116, 234)
HSLhsl(284, 74%, 69%)
HSVhsv(284, 50%, 92%)
CMYKcmyk(13.2%, 50.4%, 0%, 8.2%)
CIE-LABlab(62.62, 52.91, -45.99)
CIE-LCHlch(62.62, 70.10, 319.00°)
OKLaboklab(69.98% 0.135 -0.1279)
OKLCHoklch(69.98% 0.186 316.6)
XYZxyz(45.7231, 31.1293, 81.4259)
Luminance0.3113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB74EA #93EA74
analogous
#9074EA #CB74EA #EA74CE
triadic
#CB74EA #EACB74 #74EACB
tetradic
#CB74EA #EA9074 #93EA74 #74CEEA
square
#CB74EA #EA9074 #93EA74 #74CEEA
split-complementary
#CB74EA #CEEA74 #74EA90
monochromatic
#9A1EC6 #B73FE2 #CB74EA #DFA9F2 #F3DEFA

Accessibility & contrast

On white

2.91
#CB74EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#CB74EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB74EA
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB74EA#FFFFFF#000000##000000
##CB74EA1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C92EE
Deuteranopia (green-blind)
#769AE7
Tritanopia (blue-blind)
#CA86A4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb74ea;
/* rgb */ color: rgb(203, 116, 234);
/* oklch */ color: oklch(70.0% 0.186 316.6);
Tailwind
colors: {
  custom: {
    50: '#dd9ff1',
    500: '#cb74ea',
    950: '#000000',
  },
}
SCSS
$custom: #cb74ea;
$custom-light: #dd9ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb74ea",
  "rgb": {
    "r": 203,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 284.237,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69977,
    "c": 0.18597,
    "h": 316.6
  },
  "luminance": 0.31128
}

Semantic roles & 50–950 ramp

primary
#CB74EA
secondary
#D5EFCB
accent
#D61044
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #CB74EA

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

Preview Lab → · Contrast checker → · Palette generator →

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