#CB74EC#CB74EC

#CB74EC is a light, vivid purple. Relative luminance 0.312; OKLCH L 70.1% C 0.188 H 316.0°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#CB74EC
RGBrgb(203, 116, 236)
HSLhsl(284, 76%, 69%)
HSVhsv(284, 51%, 93%)
CMYKcmyk(14%, 50.8%, 0%, 7.5%)
CIE-LABlab(62.71, 53.31, -46.95)
CIE-LCHlch(62.71, 71.04, 318.63°)
OKLaboklab(70.08% 0.1353 -0.1306)
OKLCHoklch(70.08% 0.188 316)
XYZxyz(46.0120, 31.2448, 82.9477)
Luminance0.3124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB74EC #95EC74
analogous
#8F74EC #CB74EC #EC74D1
triadic
#CB74EC #ECCB74 #74ECCB
tetradic
#CB74EC #EC8F74 #95EC74 #74D1EC
square
#CB74EC #EC8F74 #95EC74 #74D1EC
split-complementary
#CB74EC #D1EC74 #74EC8F
monochromatic
#9A1CCA #B73EE5 #CB74EC #DFAAF3 #F3E0FB

Accessibility & contrast

On white

2.90
#CB74EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#CB74EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB74EC
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB74EC#FFFFFF#000000##000000
##CB74EC1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92F0
Deuteranopia (green-blind)
#759AE9
Tritanopia (blue-blind)
#C986A5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb74ec;
/* rgb */ color: rgb(203, 116, 236);
/* oklch */ color: oklch(70.1% 0.188 316.0);
Tailwind
colors: {
  custom: {
    50: '#dd9ff2',
    500: '#cb74ec',
    950: '#000000',
  },
}
SCSS
$custom: #cb74ec;
$custom-light: #dd9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb74ec",
  "rgb": {
    "r": 203,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 283.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70081,
    "c": 0.18804,
    "h": 316
  },
  "luminance": 0.31243
}

Semantic roles & 50–950 ramp

primary
#CB74EC
secondary
#D6EFCC
accent
#D80D45
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB74EC

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

Preview Lab → · Contrast checker → · Palette generator →

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