#CB74EB#CB74EB

#CB74EB is a light, vivid purple. Relative luminance 0.312; OKLCH L 70.0% C 0.187 H 316.3°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#CB74EB
RGBrgb(203, 116, 235)
HSLhsl(284, 75%, 69%)
HSVhsv(284, 51%, 92%)
CMYKcmyk(13.6%, 50.6%, 0%, 7.8%)
CIE-LABlab(62.67, 53.11, -46.47)
CIE-LCHlch(62.67, 70.57, 318.82°)
OKLaboklab(70.03% 0.1351 -0.1293)
OKLCHoklch(70.03% 0.187 316.3)
XYZxyz(45.8671, 31.1869, 82.1847)
Luminance0.3119 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB74EB #94EB74
analogous
#9074EB #CB74EB #EB74CF
triadic
#CB74EB #EBCB74 #74EBCB
tetradic
#CB74EB #EB9074 #94EB74 #74CFEB
square
#CB74EB #EB9074 #94EB74 #74CFEB
split-complementary
#CB74EB #CFEB74 #74EB90
monochromatic
#9A1DC8 #B73EE3 #CB74EB #DFAAF3 #F3DFFA

Accessibility & contrast

On white

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

On black

7.24
#CB74EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB74EB
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB74EB#FFFFFF#000000##000000
##CB74EB1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92EF
Deuteranopia (green-blind)
#769AE8
Tritanopia (blue-blind)
#CA86A5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb74eb;
/* rgb */ color: rgb(203, 116, 235);
/* oklch */ color: oklch(70.0% 0.187 316.3);
Tailwind
colors: {
  custom: {
    50: '#dd9ff2',
    500: '#cb74eb',
    950: '#000000',
  },
}
SCSS
$custom: #cb74eb;
$custom-light: #dd9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb74eb",
  "rgb": {
    "r": 203,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 283.866,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70029,
    "c": 0.18701,
    "h": 316.3
  },
  "luminance": 0.31185
}

Semantic roles & 50–950 ramp

primary
#CB74EB
secondary
#D5EFCC
accent
#D70F44
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #CB74EB

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

Preview Lab → · Contrast checker → · Palette generator →

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