#CA74DE#CA74DE

#CA74DE is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.3% C 0.173 H 319.8°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#CA74DE
RGBrgb(202, 116, 222)
HSLhsl(289, 62%, 66%)
HSVhsv(289, 48%, 87%)
CMYKcmyk(9%, 47.7%, 0%, 12.9%)
CIE-LABlab(61.93, 50.25, -40.39)
CIE-LCHlch(61.93, 64.47, 321.21°)
OKLaboklab(69.26% 0.1323 -0.1117)
OKLCHoklch(69.26% 0.173 319.8)
XYZxyz(43.7857, 30.3229, 72.6395)
Luminance0.3032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74DE #88DE74
analogous
#9574DE #CA74DE #DE74BD
triadic
#CA74DE #DECA74 #74DECA
tetradic
#CA74DE #DE9574 #88DE74 #74BDDE
square
#CA74DE #DE9574 #88DE74 #74BDDE
split-complementary
#CA74DE #BDDE74 #74DE95
monochromatic
#9529AE #B743D2 #CA74DE #DDA5EA #F0D7F5

Accessibility & contrast

On white

2.97
#CA74DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#CA74DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74DE
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74DE#FFFFFF#000000##000000
##CA74DE1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6390E2
Deuteranopia (green-blind)
#7C99DB
Tritanopia (blue-blind)
#CB829F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca74de;
/* rgb */ color: rgb(202, 116, 222);
/* oklch */ color: oklch(69.3% 0.173 319.8);
Tailwind
colors: {
  custom: {
    50: '#dc9fe8',
    500: '#ca74de',
    950: '#000000',
  },
}
SCSS
$custom: #ca74de;
$custom-light: #dc9fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74de",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 222
  },
  "hsl": {
    "h": 288.679,
    "s": 61.628,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69259,
    "c": 0.17318,
    "h": 319.8
  },
  "luminance": 0.30321
}

Semantic roles & 50–950 ramp

primary
#CA74DE
secondary
#CCE8C6
accent
#C91C3D
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CA74DE

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

Preview Lab → · Contrast checker → · Palette generator →

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