#CA74E2#CA74E2

#CA74E2 is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.5% C 0.177 H 318.6°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#CA74E2
RGBrgb(202, 116, 226)
HSLhsl(287, 65%, 67%)
HSVhsv(287, 49%, 89%)
CMYKcmyk(10.6%, 48.7%, 0%, 11.4%)
CIE-LABlab(62.12, 51.04, -42.33)
CIE-LCHlch(62.12, 66.31, 320.32°)
OKLaboklab(69.46% 0.1329 -0.1173)
OKLCHoklch(69.46% 0.177 318.6)
XYZxyz(44.3281, 30.5399, 75.4965)
Luminance0.3054 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74E2 #8CE274
analogous
#9374E2 #CA74E2 #E274C3
triadic
#CA74E2 #E2CA74 #74E2CA
tetradic
#CA74E2 #E29374 #8CE274 #74C3E2
square
#CA74E2 #E29374 #8CE274 #74C3E2
split-complementary
#CA74E2 #C3E274 #74E293
monochromatic
#9626B6 #B741D7 #CA74E2 #DDA7ED #F1D9F7

Accessibility & contrast

On white

2.95
#CA74E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#CA74E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74E2
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74E2#FFFFFF#000000##000000
##CA74E21.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6090E6
Deuteranopia (green-blind)
#7A99DF
Tritanopia (blue-blind)
#CA83A1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca74e2;
/* rgb */ color: rgb(202, 116, 226);
/* oklch */ color: oklch(69.5% 0.177 318.6);
Tailwind
colors: {
  custom: {
    50: '#dc9feb',
    500: '#ca74e2',
    950: '#000000',
  },
}
SCSS
$custom: #ca74e2;
$custom-light: #dc9feb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74e2",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 226
  },
  "hsl": {
    "h": 286.909,
    "s": 65.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69458,
    "c": 0.17725,
    "h": 318.6
  },
  "luminance": 0.30538
}

Semantic roles & 50–950 ramp

primary
#CA74E2
secondary
#CFEAC7
accent
#CD1840
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CA74E2

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

Preview Lab → · Contrast checker → · Palette generator →

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