#CA74E8#CA74E8

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

Color values

HEX#CA74E8
RGBrgb(202, 116, 232)
HSLhsl(284, 72%, 68%)
HSVhsv(284, 50%, 91%)
CMYKcmyk(12.9%, 50%, 0%, 9%)
CIE-LABlab(62.40, 52.24, -45.23)
CIE-LCHlch(62.40, 69.09, 319.11°)
OKLaboklab(69.76% 0.1336 -0.1257)
OKLCHoklch(69.76% 0.183 316.8)
XYZxyz(45.1659, 30.8750, 79.9086)
Luminance0.3087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74E8 #92E874
analogous
#9074E8 #CA74E8 #E874CC
triadic
#CA74E8 #E8CA74 #74E8CA
tetradic
#CA74E8 #E89074 #92E874 #74CCE8
square
#CA74E8 #E89074 #92E874 #74CCE8
split-complementary
#CA74E8 #CCE874 #74E890
monochromatic
#9820C2 #B63FDF #CA74E8 #DEA9F1 #F2DDF9

Accessibility & contrast

On white

2.93
#CA74E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#CA74E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74E8
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74E8#FFFFFF#000000##000000
##CA74E81.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D91EC
Deuteranopia (green-blind)
#779AE5
Tritanopia (blue-blind)
#C985A4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca74e8;
/* rgb */ color: rgb(202, 116, 232);
/* oklch */ color: oklch(69.8% 0.183 316.8);
Tailwind
colors: {
  custom: {
    50: '#dc9ff0',
    500: '#ca74e8',
    950: '#000000',
  },
}
SCSS
$custom: #ca74e8;
$custom-light: #dc9ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74e8",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 232
  },
  "hsl": {
    "h": 284.483,
    "s": 71.605,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69761,
    "c": 0.18344,
    "h": 316.8
  },
  "luminance": 0.30874
}

Semantic roles & 50–950 ramp

primary
#CA74E8
secondary
#D3EDCA
accent
#D41244
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CA74E8

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

Preview Lab → · Contrast checker → · Palette generator →

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