#CB74ED#CB74ED

#CB74ED is a light, vivid purple. Relative luminance 0.313; OKLCH L 70.1% C 0.189 H 315.7°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#CB74ED
RGBrgb(203, 116, 237)
HSLhsl(283, 77%, 69%)
HSVhsv(283, 51%, 93%)
CMYKcmyk(14.3%, 51.1%, 0%, 7.1%)
CIE-LABlab(62.76, 53.52, -47.42)
CIE-LCHlch(62.76, 71.51, 318.45°)
OKLaboklab(70.13% 0.1354 -0.132)
OKLCHoklch(70.13% 0.189 315.7)
XYZxyz(46.1577, 31.3031, 83.7150)
Luminance0.3130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB74ED #96ED74
analogous
#8F74ED #CB74ED #ED74D3
triadic
#CB74ED #EDCB74 #74EDCB
tetradic
#CB74ED #ED8F74 #96ED74 #74D3ED
square
#CB74ED #ED8F74 #96ED74 #74D3ED
split-complementary
#CB74ED #D3ED74 #74ED8F
monochromatic
#9A1ACC #B73EE6 #CB74ED #DFAAF4 #F4E0FB

Accessibility & contrast

On white

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

On black

7.26
#CB74ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB74ED
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB74ED#FFFFFF#000000##000000
##CB74ED1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A93F1
Deuteranopia (green-blind)
#759AEA
Tritanopia (blue-blind)
#C987A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb74ed;
/* rgb */ color: rgb(203, 116, 237);
/* oklch */ color: oklch(70.1% 0.189 315.7);
Tailwind
colors: {
  custom: {
    50: '#dd9ff3',
    500: '#cb74ed',
    950: '#000000',
  },
}
SCSS
$custom: #cb74ed;
$custom-light: #dd9ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb74ed",
  "rgb": {
    "r": 203,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 283.14,
    "s": 77.07,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70133,
    "c": 0.18908,
    "h": 315.7
  },
  "luminance": 0.31302
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB74ED

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

Preview Lab → · Contrast checker → · Palette generator →

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