#CA74E3#CA74E3

#CA74E3 is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.5% C 0.178 H 318.3°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#CA74E3
RGBrgb(202, 116, 227)
HSLhsl(286, 66%, 67%)
HSVhsv(286, 49%, 89%)
CMYKcmyk(11%, 48.9%, 0%, 11%)
CIE-LABlab(62.16, 51.24, -42.82)
CIE-LCHlch(62.16, 66.77, 320.11°)
OKLaboklab(69.51% 0.133 -0.1187)
OKLCHoklch(69.51% 0.178 318.3)
XYZxyz(44.4658, 30.5949, 76.2213)
Luminance0.3059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74E3 #8DE374
analogous
#9274E3 #CA74E3 #E374C5
triadic
#CA74E3 #E3CA74 #74E3CA
tetradic
#CA74E3 #E39274 #8DE374 #74C5E3
square
#CA74E3 #E39274 #8DE374 #74C5E3
split-complementary
#CA74E3 #C5E374 #74E392
monochromatic
#9725B8 #B741D9 #CA74E3 #DDA7ED #F1DAF8

Accessibility & contrast

On white

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

On black

7.12
#CA74E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74E3
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74E3#FFFFFF#000000##000000
##CA74E31.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6091E7
Deuteranopia (green-blind)
#7999E0
Tritanopia (blue-blind)
#CA84A1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca74e3;
/* rgb */ color: rgb(202, 116, 227);
/* oklch */ color: oklch(69.5% 0.178 318.3);
Tailwind
colors: {
  custom: {
    50: '#dc9fec',
    500: '#ca74e3',
    950: '#000000',
  },
}
SCSS
$custom: #ca74e3;
$custom-light: #dc9fec;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74e3",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 227
  },
  "hsl": {
    "h": 286.486,
    "s": 66.467,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69508,
    "c": 0.17828,
    "h": 318.3
  },
  "luminance": 0.30593
}

Semantic roles & 50–950 ramp

primary
#CA74E3
secondary
#D0EBC8
accent
#CE1740
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CA74E3

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

Preview Lab → · Contrast checker → · Palette generator →

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