#CA74ED#CA74ED

#CA74ED is a light, vivid purple. Relative luminance 0.312; OKLCH L 70.0% C 0.189 H 315.3°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#CA74ED
RGBrgb(202, 116, 237)
HSLhsl(283, 77%, 69%)
HSVhsv(283, 51%, 93%)
CMYKcmyk(14.8%, 51.1%, 0%, 7.1%)
CIE-LABlab(62.65, 53.25, -47.62)
CIE-LCHlch(62.65, 71.44, 318.20°)
OKLaboklab(70.02% 0.1342 -0.1326)
OKLCHoklch(70.02% 0.189 315.3)
XYZxyz(45.8862, 31.1631, 83.7023)
Luminance0.3116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74ED #97ED74
analogous
#8E74ED #CA74ED #ED74D3
triadic
#CA74ED #EDCA74 #74EDCA
tetradic
#CA74ED #ED8E74 #97ED74 #74D3ED
square
#CA74ED #ED8E74 #97ED74 #74D3ED
split-complementary
#CA74ED #D3ED74 #74ED8E
monochromatic
#991ACC #B53EE6 #CA74ED #DFAAF4 #F3E0FB

Accessibility & contrast

On white

2.90
#CA74ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#CA74ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74ED
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74ED#FFFFFF#000000##000000
##CA74ED1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5992F1
Deuteranopia (green-blind)
#749AEA
Tritanopia (blue-blind)
#C887A6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca74ed;
/* rgb */ color: rgb(202, 116, 237);
/* oklch */ color: oklch(70.0% 0.189 315.3);
Tailwind
colors: {
  custom: {
    50: '#dc9ff3',
    500: '#ca74ed',
    950: '#000000',
  },
}
SCSS
$custom: #ca74ed;
$custom-light: #dc9ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74ed",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 282.645,
    "s": 77.07,
    "l": 69.216
  },
  "oklch": {
    "l": 0.7002,
    "c": 0.18865,
    "h": 315.3
  },
  "luminance": 0.31162
}

Semantic roles & 50–950 ramp

primary
#CA74ED
secondary
#D7F0CD
accent
#D90C48
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #CA74ED

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

Preview Lab → · Contrast checker → · Palette generator →

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