#CA74DA#CA74DA

#CA74DA is a light, vivid purple. Relative luminance 0.301; OKLCH L 69.1% C 0.169 H 321.2°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#CA74DA
RGBrgb(202, 116, 218)
HSLhsl(291, 58%, 65%)
HSVhsv(291, 47%, 85%)
CMYKcmyk(7.3%, 46.8%, 0%, 14.5%)
CIE-LABlab(61.75, 49.47, -38.44)
CIE-LCHlch(61.75, 62.65, 322.15°)
OKLaboklab(69.07% 0.1317 -0.1061)
OKLCHoklch(69.07% 0.169 321.2)
XYZxyz(43.2559, 30.1110, 69.8496)
Luminance0.3011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74DA #84DA74
analogous
#9774DA #CA74DA #DA74B7
triadic
#CA74DA #DACA74 #74DACA
tetradic
#CA74DA #DA9774 #84DA74 #74B7DA
square
#CA74DA #DA9774 #84DA74 #74B7DA
split-complementary
#CA74DA #B7DA74 #74DA97
monochromatic
#942CA7 #B844CD #CA74DA #DCA4E7 #EFD5F4

Accessibility & contrast

On white

2.99
#CA74DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#CA74DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74DA
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74DA#FFFFFF#000000##000000
##CA74DA1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#658FDE
Deuteranopia (green-blind)
#7E98D7
Tritanopia (blue-blind)
#CC819D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca74da;
/* rgb */ color: rgb(202, 116, 218);
/* oklch */ color: oklch(69.1% 0.169 321.2);
Tailwind
colors: {
  custom: {
    50: '#dc9ee6',
    500: '#ca74da',
    950: '#000000',
  },
}
SCSS
$custom: #ca74da;
$custom-light: #dc9ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74da",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 218
  },
  "hsl": {
    "h": 290.588,
    "s": 57.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.69065,
    "c": 0.16913,
    "h": 321.2
  },
  "luminance": 0.30109
}

Semantic roles & 50–950 ramp

primary
#CA74DA
secondary
#C9E6C4
accent
#C6203A
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CA74DA

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

Preview Lab → · Contrast checker → · Palette generator →

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