#CA74CD#CA74CD

#CA74CD is a light, vivid purple. Relative luminance 0.295; OKLCH L 68.5% C 0.156 H 325.9°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#CA74CD
RGBrgb(202, 116, 205)
HSLhsl(298, 47%, 63%)
HSVhsv(298, 43%, 80%)
CMYKcmyk(1.5%, 43.4%, 0%, 19.6%)
CIE-LABlab(61.18, 47.00, -32.02)
CIE-LCHlch(61.18, 56.87, 325.74°)
OKLaboklab(68.46% 0.1295 -0.0877)
OKLCHoklch(68.46% 0.156 325.9)
XYZxyz(41.6211, 29.4571, 61.2392)
Luminance0.2945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74CD #77CD74
analogous
#9E74CD #CA74CD #CD74A3
triadic
#CA74CD #CDCA74 #74CDCA
tetradic
#CA74CD #CD9E74 #77CD74 #74A3CD
square
#CA74CD #CD9E74 #77CD74 #74A3CD
split-complementary
#CA74CD #A3CD74 #74CD9E
monochromatic
#8F3592 #B947BD #CA74CD #DBA1DD #ECCEED

Accessibility & contrast

On white

3.05
#CA74CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#CA74CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA74CD
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74CD#FFFFFF#000000##000000
##CA74CD1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8DD0
Deuteranopia (green-blind)
#8398CA
Tritanopia (blue-blind)
#CE7D97
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ca74cd;
/* rgb */ color: rgb(202, 116, 205);
/* oklch */ color: oklch(68.5% 0.156 325.9);
Tailwind
colors: {
  custom: {
    50: '#dc9edc',
    500: '#ca74cd',
    950: '#000000',
  },
}
SCSS
$custom: #ca74cd;
$custom-light: #dc9edc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74cd",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 297.978,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.68457,
    "c": 0.15635,
    "h": 325.9
  },
  "luminance": 0.29455
}

Semantic roles & 50–950 ramp

primary
#CA74CD
secondary
#BFDEBE
accent
#BA2B30
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150F15
muted
#837E83

Preview Lab

Preview with #CA74CD

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

Preview Lab → · Contrast checker → · Palette generator →

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