#CA74CA#CA74CA

#CA74CA is a light, vivid purple. Relative luminance 0.293; OKLCH L 68.3% C 0.153 H 327.1°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#CA74CA
RGBrgb(202, 116, 202)
HSLhsl(300, 45%, 62%)
HSVhsv(300, 43%, 79%)
CMYKcmyk(0%, 42.6%, 0%, 20.8%)
CIE-LABlab(61.06, 46.45, -30.52)
CIE-LCHlch(61.06, 55.58, 326.70°)
OKLaboklab(68.32% 0.1289 -0.0834)
OKLCHoklch(68.32% 0.153 327.1)
XYZxyz(41.2624, 29.3136, 59.3503)
Luminance0.2931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74CA #74CA74
analogous
#9F74CA #CA74CA #CA749F
triadic
#CA74CA #CACA74 #74CACA
tetradic
#CA74CA #CA9F74 #74CA74 #749FCA
square
#CA74CA #CA9F74 #74CA74 #749FCA
split-complementary
#CA74CA #9FCA74 #74CA9F
monochromatic
#8E368E #B948B9 #CA74CA #DBA0DB #ECCDEC

Accessibility & contrast

On white

3.06
#CA74CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#CA74CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA74CA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74CA#FFFFFF#000000##000000
##CA74CA1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8CCD
Deuteranopia (green-blind)
#8497C7
Tritanopia (blue-blind)
#CF7D96
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ca74ca;
/* rgb */ color: rgb(202, 116, 202);
/* oklch */ color: oklch(68.3% 0.153 327.1);
Tailwind
colors: {
  custom: {
    50: '#dc9eda',
    500: '#ca74ca',
    950: '#000000',
  },
}
SCSS
$custom: #ca74ca;
$custom-light: #dc9eda;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74ca",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 300,
    "s": 44.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68322,
    "c": 0.15349,
    "h": 327.1
  },
  "luminance": 0.29312
}

Semantic roles & 50–950 ramp

primary
#CA74CA
secondary
#BDDDBD
accent
#B82E2E
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150F15
muted
#837E83

Preview Lab

Preview with #CA74CA

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

Preview Lab → · Contrast checker → · Palette generator →

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