#CB74DF#CB74DF

#CB74DF is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.4% C 0.175 H 319.9°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#CB74DF
RGBrgb(203, 116, 223)
HSLhsl(289, 63%, 66%)
HSVhsv(289, 48%, 87%)
CMYKcmyk(9%, 48%, 0%, 12.5%)
CIE-LABlab(62.10, 50.72, -40.68)
CIE-LCHlch(62.10, 65.02, 321.27°)
OKLaboklab(69.42% 0.1337 -0.1125)
OKLCHoklch(69.42% 0.175 319.9)
XYZxyz(44.1916, 30.5167, 73.3602)
Luminance0.3051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB74DF #88DF74
analogous
#9674DF #CB74DF #DF74BE
triadic
#CB74DF #DFCB74 #74DFCB
tetradic
#CB74DF #DF9674 #88DF74 #74BEDF
square
#CB74DF #DF9674 #88DF74 #74BEDF
split-complementary
#CB74DF #BEDF74 #74DF96
monochromatic
#9729B0 #B842D4 #CB74DF #DEA6EA #F0D7F6

Accessibility & contrast

On white

2.96
#CB74DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#CB74DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB74DF
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB74DF#FFFFFF#000000##000000
##CB74DF1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6390E3
Deuteranopia (green-blind)
#7C99DC
Tritanopia (blue-blind)
#CC829F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cb74df;
/* rgb */ color: rgb(203, 116, 223);
/* oklch */ color: oklch(69.4% 0.175 319.9);
Tailwind
colors: {
  custom: {
    50: '#dd9fe9',
    500: '#cb74df',
    950: '#000000',
  },
}
SCSS
$custom: #cb74df;
$custom-light: #dd9fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb74df",
  "rgb": {
    "r": 203,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 288.785,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69423,
    "c": 0.1747,
    "h": 319.9
  },
  "luminance": 0.30515
}

Semantic roles & 50–950 ramp

primary
#CB74DF
secondary
#CDE9C6
accent
#CA1B3C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CB74DF

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

Preview Lab → · Contrast checker → · Palette generator →

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