#CA74E6#CA74E6

#CA74E6 is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.7% C 0.181 H 317.3°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#CA74E6
RGBrgb(202, 116, 230)
HSLhsl(285, 70%, 68%)
HSVhsv(285, 50%, 90%)
CMYKcmyk(12.2%, 49.6%, 0%, 9.8%)
CIE-LABlab(62.31, 51.83, -44.26)
CIE-LCHlch(62.31, 68.16, 319.50°)
OKLaboklab(69.66% 0.1334 -0.1229)
OKLCHoklch(69.66% 0.181 317.3)
XYZxyz(44.8834, 30.7620, 78.4209)
Luminance0.3076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74E6 #90E674
analogous
#9174E6 #CA74E6 #E674C9
triadic
#CA74E6 #E6CA74 #74E6CA
tetradic
#CA74E6 #E69174 #90E674 #74C9E6
square
#CA74E6 #E69174 #90E674 #74C9E6
split-complementary
#CA74E6 #C9E674 #74E691
monochromatic
#9722BE #B640DD #CA74E6 #DEA8EF #F2DCF9

Accessibility & contrast

On white

2.94
#CA74E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#CA74E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74E6
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74E6#FFFFFF#000000##000000
##CA74E61.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E91EA
Deuteranopia (green-blind)
#7899E3
Tritanopia (blue-blind)
#C985A3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca74e6;
/* rgb */ color: rgb(202, 116, 230);
/* oklch */ color: oklch(69.7% 0.181 317.3);
Tailwind
colors: {
  custom: {
    50: '#dc9fee',
    500: '#ca74e6',
    950: '#000000',
  },
}
SCSS
$custom: #ca74e6;
$custom-light: #dc9fee;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74e6",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 230
  },
  "hsl": {
    "h": 285.263,
    "s": 69.512,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69659,
    "c": 0.18138,
    "h": 317.3
  },
  "luminance": 0.30761
}

Semantic roles & 50–950 ramp

primary
#CA74E6
secondary
#D2ECC9
accent
#D11443
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CA74E6

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

Preview Lab → · Contrast checker → · Palette generator →

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