#CB74DD#CB74DD

#CB74DD is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.3% C 0.173 H 320.6°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#CB74DD
RGBrgb(203, 116, 221)
HSLhsl(290, 61%, 66%)
HSVhsv(290, 48%, 87%)
CMYKcmyk(8.1%, 47.5%, 0%, 13.3%)
CIE-LABlab(62.01, 50.33, -39.71)
CIE-LCHlch(62.01, 64.11, 321.73°)
OKLaboklab(69.33% 0.1334 -0.1097)
OKLCHoklch(69.33% 0.173 320.6)
XYZxyz(43.9236, 30.4095, 71.9485)
Luminance0.3041 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB74DD #86DD74
analogous
#9674DD #CB74DD #DD74BA
triadic
#CB74DD #DDCB74 #74DDCB
tetradic
#CB74DD #DD9674 #86DD74 #74BADD
square
#CB74DD #DD9674 #86DD74 #74BADD
split-complementary
#CB74DD #BADD74 #74DD96
monochromatic
#962AAC #B943D1 #CB74DD #DDA5E9 #F0D6F5

Accessibility & contrast

On white

2.97
#CB74DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#CB74DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB74DD
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB74DD#FFFFFF#000000##000000
##CB74DD1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6490E1
Deuteranopia (green-blind)
#7D99DA
Tritanopia (blue-blind)
#CC829E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cb74dd;
/* rgb */ color: rgb(203, 116, 221);
/* oklch */ color: oklch(69.3% 0.173 320.6);
Tailwind
colors: {
  custom: {
    50: '#dd9fe8',
    500: '#cb74dd',
    950: '#000000',
  },
}
SCSS
$custom: #cb74dd;
$custom-light: #dd9fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb74dd",
  "rgb": {
    "r": 203,
    "g": 116,
    "b": 221
  },
  "hsl": {
    "h": 289.714,
    "s": 60.694,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69325,
    "c": 0.17268,
    "h": 320.6
  },
  "luminance": 0.30408
}

Semantic roles & 50–950 ramp

primary
#CB74DD
secondary
#CBE8C5
accent
#C81D3A
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CB74DD

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

Preview Lab → · Contrast checker → · Palette generator →

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