#CA74EC#CA74EC

#CA74EC is a light, vivid purple. Relative luminance 0.311; OKLCH L 70.0% C 0.188 H 315.6°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#CA74EC
RGBrgb(202, 116, 236)
HSLhsl(283, 76%, 69%)
HSVhsv(283, 51%, 93%)
CMYKcmyk(14.4%, 50.8%, 0%, 7.5%)
CIE-LABlab(62.60, 53.05, -47.14)
CIE-LCHlch(62.60, 70.97, 318.37°)
OKLaboklab(69.97% 0.1341 -0.1312)
OKLCHoklch(69.97% 0.188 315.6)
XYZxyz(45.7405, 31.1048, 82.9350)
Luminance0.3110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74EC #96EC74
analogous
#8E74EC #CA74EC #EC74D2
triadic
#CA74EC #ECCA74 #74ECCA
tetradic
#CA74EC #EC8E74 #96EC74 #74D2EC
square
#CA74EC #EC8E74 #96EC74 #74D2EC
split-complementary
#CA74EC #D2EC74 #74EC8E
monochromatic
#991CCA #B53EE5 #CA74EC #DFAAF3 #F3E0FB

Accessibility & contrast

On white

2.91
#CA74EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#CA74EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74EC
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74EC#FFFFFF#000000##000000
##CA74EC1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92F0
Deuteranopia (green-blind)
#749AE9
Tritanopia (blue-blind)
#C886A5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca74ec;
/* rgb */ color: rgb(202, 116, 236);
/* oklch */ color: oklch(70.0% 0.188 315.6);
Tailwind
colors: {
  custom: {
    50: '#dc9ff2',
    500: '#ca74ec',
    950: '#000000',
  },
}
SCSS
$custom: #ca74ec;
$custom-light: #dc9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74ec",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 283,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69968,
    "c": 0.18761,
    "h": 315.6
  },
  "luminance": 0.31103
}

Semantic roles & 50–950 ramp

primary
#CA74EC
secondary
#D6EFCC
accent
#D80D47
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #CA74EC

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

Preview Lab → · Contrast checker → · Palette generator →

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