#CA74DF#CA74DF

#CA74DF is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.3% C 0.174 H 319.5°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#CA74DF
RGBrgb(202, 116, 223)
HSLhsl(288, 63%, 66%)
HSVhsv(288, 48%, 87%)
CMYKcmyk(9.4%, 48%, 0%, 12.5%)
CIE-LABlab(61.98, 50.44, -40.88)
CIE-LCHlch(61.98, 64.93, 320.98°)
OKLaboklab(69.31% 0.1325 -0.1131)
OKLCHoklch(69.31% 0.174 319.5)
XYZxyz(43.9201, 30.3767, 73.3475)
Luminance0.3038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74DF #89DF74
analogous
#9574DF #CA74DF #DF74BF
triadic
#CA74DF #DFCA74 #74DFCA
tetradic
#CA74DF #DF9574 #89DF74 #74BFDF
square
#CA74DF #DF9574 #89DF74 #74BFDF
split-complementary
#CA74DF #BFDF74 #74DF95
monochromatic
#9529B0 #B742D4 #CA74DF #DDA6EA #F0D7F6

Accessibility & contrast

On white

2.97
#CA74DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#CA74DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74DF
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74DF#FFFFFF#000000##000000
##CA74DF1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6290E3
Deuteranopia (green-blind)
#7B99DC
Tritanopia (blue-blind)
#CB839F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca74df;
/* rgb */ color: rgb(202, 116, 223);
/* oklch */ color: oklch(69.3% 0.174 319.5);
Tailwind
colors: {
  custom: {
    50: '#dc9fe9',
    500: '#ca74df',
    950: '#000000',
  },
}
SCSS
$custom: #ca74df;
$custom-light: #dc9fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74df",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 288.224,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69309,
    "c": 0.17419,
    "h": 319.5
  },
  "luminance": 0.30375
}

Semantic roles & 50–950 ramp

primary
#CA74DF
secondary
#CDE9C6
accent
#CA1B3E
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CA74DF

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

Preview Lab → · Contrast checker → · Palette generator →

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