#CA74DC#CA74DC

#CA74DC is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.2% C 0.171 H 320.5°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#CA74DC
RGBrgb(202, 116, 220)
HSLhsl(290, 60%, 66%)
HSVhsv(290, 47%, 86%)
CMYKcmyk(8.2%, 47.3%, 0%, 13.7%)
CIE-LABlab(61.84, 49.86, -39.42)
CIE-LCHlch(61.84, 63.56, 321.67°)
OKLaboklab(69.16% 0.1321 -0.1089)
OKLCHoklch(69.16% 0.171 320.5)
XYZxyz(43.5192, 30.2163, 71.2362)
Luminance0.3021 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74DC #86DC74
analogous
#9674DC #CA74DC #DC74BA
triadic
#CA74DC #DCCA74 #74DCCA
tetradic
#CA74DC #DC9674 #86DC74 #74BADC
square
#CA74DC #DC9674 #86DC74 #74BADC
split-complementary
#CA74DC #BADC74 #74DC96
monochromatic
#952BAB #B743D0 #CA74DC #DDA5E8 #EFD6F5

Accessibility & contrast

On white

2.98
#CA74DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#CA74DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74DC
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74DC#FFFFFF#000000##000000
##CA74DC1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#648FE0
Deuteranopia (green-blind)
#7D99D9
Tritanopia (blue-blind)
#CB829E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca74dc;
/* rgb */ color: rgb(202, 116, 220);
/* oklch */ color: oklch(69.2% 0.171 320.5);
Tailwind
colors: {
  custom: {
    50: '#dc9ee7',
    500: '#ca74dc',
    950: '#000000',
  },
}
SCSS
$custom: #ca74dc;
$custom-light: #dc9ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74dc",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 289.615,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69162,
    "c": 0.17116,
    "h": 320.5
  },
  "luminance": 0.30215
}

Semantic roles & 50–950 ramp

primary
#CA74DC
secondary
#CBE7C5
accent
#C71E3B
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CA74DC

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

Preview Lab → · Contrast checker → · Palette generator →

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