#CA74E4#CA74E4

#CA74E4 is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.6% C 0.179 H 317.9°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#CA74E4
RGBrgb(202, 116, 228)
HSLhsl(286, 67%, 67%)
HSVhsv(286, 49%, 89%)
CMYKcmyk(11.4%, 49.1%, 0%, 10.6%)
CIE-LABlab(62.21, 51.43, -43.30)
CIE-LCHlch(62.21, 67.23, 319.91°)
OKLaboklab(69.56% 0.1332 -0.1201)
OKLCHoklch(69.56% 0.179 317.9)
XYZxyz(44.6042, 30.6503, 76.9503)
Luminance0.3065 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74E4 #8EE474
analogous
#9274E4 #CA74E4 #E474C6
triadic
#CA74E4 #E4CA74 #74E4CA
tetradic
#CA74E4 #E49274 #8EE474 #74C6E4
square
#CA74E4 #E49274 #8EE474 #74C6E4
split-complementary
#CA74E4 #C6E474 #74E492
monochromatic
#9724BA #B641DA #CA74E4 #DEA7EE #F1DAF8

Accessibility & contrast

On white

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

On black

7.13
#CA74E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74E4
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74E4#FFFFFF#000000##000000
##CA74E41.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F91E8
Deuteranopia (green-blind)
#7999E1
Tritanopia (blue-blind)
#CA84A2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca74e4;
/* rgb */ color: rgb(202, 116, 228);
/* oklch */ color: oklch(69.6% 0.179 317.9);
Tailwind
colors: {
  custom: {
    50: '#dc9fed',
    500: '#ca74e4',
    950: '#000000',
  },
}
SCSS
$custom: #ca74e4;
$custom-light: #dc9fed;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74e4",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 228
  },
  "hsl": {
    "h": 286.071,
    "s": 67.47,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69558,
    "c": 0.17931,
    "h": 317.9
  },
  "luminance": 0.30649
}

Semantic roles & 50–950 ramp

primary
#CA74E4
secondary
#D1EBC8
accent
#CF1641
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CA74E4

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

Preview Lab → · Contrast checker → · Palette generator →

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