#CA74DD#CA74DD

#CA74DD is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.2% C 0.172 H 320.2°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#CA74DD
RGBrgb(202, 116, 221)
HSLhsl(289, 61%, 66%)
HSVhsv(289, 48%, 87%)
CMYKcmyk(8.6%, 47.5%, 0%, 13.3%)
CIE-LABlab(61.89, 50.05, -39.90)
CIE-LCHlch(61.89, 64.01, 321.44°)
OKLaboklab(69.21% 0.1322 -0.1103)
OKLCHoklch(69.21% 0.172 320.2)
XYZxyz(43.6521, 30.2695, 71.9358)
Luminance0.3027 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74DD #87DD74
analogous
#9574DD #CA74DD #DD74BB
triadic
#CA74DD #DDCA74 #74DDCA
tetradic
#CA74DD #DD9574 #87DD74 #74BBDD
square
#CA74DD #DD9574 #87DD74 #74BBDD
split-complementary
#CA74DD #BBDD74 #74DD95
monochromatic
#952AAC #B743D1 #CA74DD #DDA5E9 #EFD6F5

Accessibility & contrast

On white

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

On black

7.05
#CA74DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74DD
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74DD#FFFFFF#000000##000000
##CA74DD1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#638FE1
Deuteranopia (green-blind)
#7C99DA
Tritanopia (blue-blind)
#CB829E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca74dd;
/* rgb */ color: rgb(202, 116, 221);
/* oklch */ color: oklch(69.2% 0.172 320.2);
Tailwind
colors: {
  custom: {
    50: '#dc9fe8',
    500: '#ca74dd',
    950: '#000000',
  },
}
SCSS
$custom: #ca74dd;
$custom-light: #dc9fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74dd",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 221
  },
  "hsl": {
    "h": 289.143,
    "s": 60.694,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6921,
    "c": 0.17216,
    "h": 320.2
  },
  "luminance": 0.30268
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA74DD

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

Preview Lab → · Contrast checker → · Palette generator →

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