#CA74C2#CA74C2

#CA74C2 is a light, vivid purple. Relative luminance 0.289; OKLCH L 68.0% C 0.146 H 330.5°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#CA74C2
RGBrgb(202, 116, 194)
HSLhsl(306, 45%, 62%)
HSVhsv(306, 43%, 79%)
CMYKcmyk(0%, 42.6%, 4%, 20.8%)
CIE-LABlab(60.73, 45.01, -26.49)
CIE-LCHlch(60.73, 52.23, 329.52°)
OKLaboklab(67.97% 0.1271 -0.072)
OKLCHoklch(67.97% 0.146 330.5)
XYZxyz(40.3397, 28.9445, 54.4905)
Luminance0.2894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74C2 #74CA7C
analogous
#A774CA #CA74C2 #CA7497
triadic
#CA74C2 #C2CA74 #74C2CA
tetradic
#CA74C2 #CAA774 #74CA7C #7497CA
square
#CA74C2 #CAA774 #74CA7C #7497CA
split-complementary
#CA74C2 #97CA74 #74CAA7
monochromatic
#8E3685 #B948AF #CA74C2 #DBA0D5 #ECCDE9

Accessibility & contrast

On white

3.09
#CA74C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#CA74C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA74C2
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74C2#FFFFFF#000000##000000
##CA74C21.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#708BC5
Deuteranopia (green-blind)
#8897BF
Tritanopia (blue-blind)
#D07A92
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ca74c2;
/* rgb */ color: rgb(202, 116, 194);
/* oklch */ color: oklch(68.0% 0.146 330.5);
Tailwind
colors: {
  custom: {
    50: '#dc9ed4',
    500: '#ca74c2',
    950: '#000000',
  },
}
SCSS
$custom: #ca74c2;
$custom-light: #dc9ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74c2",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 194
  },
  "hsl": {
    "h": 305.581,
    "s": 44.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67972,
    "c": 0.1461,
    "h": 330.5
  },
  "luminance": 0.28942
}

Semantic roles & 50–950 ramp

primary
#CA74C2
secondary
#BDDDC0
accent
#B83A2E
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150F14
muted
#837E83

Preview Lab

Preview with #CA74C2

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

Preview Lab → · Contrast checker → · Palette generator →

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