#CA74EA#CA74EA

#CA74EA is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.9% C 0.186 H 316.2°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CA74EA
RGBrgb(202, 116, 234)
HSLhsl(284, 74%, 69%)
HSVhsv(284, 50%, 92%)
CMYKcmyk(13.7%, 50.4%, 0%, 8.2%)
CIE-LABlab(62.50, 52.64, -46.18)
CIE-LCHlch(62.50, 70.03, 318.74°)
OKLaboklab(69.86% 0.1339 -0.1284)
OKLCHoklch(69.86% 0.186 316.2)
XYZxyz(45.4516, 30.9893, 81.4132)
Luminance0.3099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74EA #94EA74
analogous
#8F74EA #CA74EA #EA74CF
triadic
#CA74EA #EACA74 #74EACA
tetradic
#CA74EA #EA8F74 #94EA74 #74CFEA
square
#CA74EA #EA8F74 #94EA74 #74CFEA
split-complementary
#CA74EA #CFEA74 #74EA8F
monochromatic
#981EC6 #B63FE2 #CA74EA #DEA9F2 #F3DEFA

Accessibility & contrast

On white

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

On black

7.20
#CA74EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74EA
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74EA#FFFFFF#000000##000000
##CA74EA1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca74ea;
/* rgb */ color: rgb(202, 116, 234);
/* oklch */ color: oklch(69.9% 0.186 316.2);
Tailwind
colors: {
  custom: {
    50: '#dc9ff1',
    500: '#ca74ea',
    950: '#000000',
  },
}
SCSS
$custom: #ca74ea;
$custom-light: #dc9ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74ea",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 283.729,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69864,
    "c": 0.18552,
    "h": 316.2
  },
  "luminance": 0.30988
}

Semantic roles & 50–950 ramp

primary
#CA74EA
secondary
#D5EFCB
accent
#D61045
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #CA74EA

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

Preview Lab → · Contrast checker → · Palette generator →

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