#CA74E9#CA74E9

#CA74E9 is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.8% C 0.184 H 316.5°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#CA74E9
RGBrgb(202, 116, 233)
HSLhsl(284, 73%, 68%)
HSVhsv(284, 50%, 91%)
CMYKcmyk(13.3%, 50.2%, 0%, 8.6%)
CIE-LABlab(62.45, 52.44, -45.71)
CIE-LCHlch(62.45, 69.56, 318.92°)
OKLaboklab(69.81% 0.1338 -0.1271)
OKLCHoklch(69.81% 0.184 316.5)
XYZxyz(45.3083, 30.9320, 80.6588)
Luminance0.3093 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74E9 #93E974
analogous
#8F74E9 #CA74E9 #E974CD
triadic
#CA74E9 #E9CA74 #74E9CA
tetradic
#CA74E9 #E98F74 #93E974 #74CDE9
square
#CA74E9 #E98F74 #93E974 #74CDE9
split-complementary
#CA74E9 #CDE974 #74E98F
monochromatic
#981FC4 #B63FE1 #CA74E9 #DEA9F1 #F2DEFA

Accessibility & contrast

On white

2.92
#CA74E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#CA74E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74E9
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74E9#FFFFFF#000000##000000
##CA74E91.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C92ED
Deuteranopia (green-blind)
#769AE6
Tritanopia (blue-blind)
#C986A4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca74e9;
/* rgb */ color: rgb(202, 116, 233);
/* oklch */ color: oklch(69.8% 0.184 316.5);
Tailwind
colors: {
  custom: {
    50: '#dc9ff0',
    500: '#ca74e9',
    950: '#000000',
  },
}
SCSS
$custom: #ca74e9;
$custom-light: #dc9ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74e9",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 233
  },
  "hsl": {
    "h": 284.103,
    "s": 72.671,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69813,
    "c": 0.18448,
    "h": 316.5
  },
  "luminance": 0.30931
}

Semantic roles & 50–950 ramp

primary
#CA74E9
secondary
#D4EECB
accent
#D51145
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CA74E9

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

Preview Lab → · Contrast checker → · Palette generator →

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