#CA74EE#CA74EE

#CA74EE is a light, vivid purple. Relative luminance 0.312; OKLCH L 70.1% C 0.190 H 315.1°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#CA74EE
RGBrgb(202, 116, 238)
HSLhsl(282, 78%, 69%)
HSVhsv(282, 51%, 93%)
CMYKcmyk(15.1%, 51.3%, 0%, 6.7%)
CIE-LABlab(62.69, 53.46, -48.09)
CIE-LCHlch(62.69, 71.91, 318.02°)
OKLaboklab(70.07% 0.1343 -0.134)
OKLCHoklch(70.07% 0.19 315.1)
XYZxyz(46.0327, 31.2217, 84.4739)
Luminance0.3122 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74EE #98EE74
analogous
#8D74EE #CA74EE #EE74D5
triadic
#CA74EE #EECA74 #74EECA
tetradic
#CA74EE #EE8D74 #98EE74 #74D5EE
square
#CA74EE #EE8D74 #98EE74 #74D5EE
split-complementary
#CA74EE #D5EE74 #74EE8D
monochromatic
#9919CE #B53DE7 #CA74EE #DFABF5 #F4E1FB

Accessibility & contrast

On white

2.90
#CA74EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#CA74EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74EE
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74EE#FFFFFF#000000##000000
##CA74EE1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5893F2
Deuteranopia (green-blind)
#739AEB
Tritanopia (blue-blind)
#C887A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca74ee;
/* rgb */ color: rgb(202, 116, 238);
/* oklch */ color: oklch(70.1% 0.190 315.1);
Tailwind
colors: {
  custom: {
    50: '#dc9ff4',
    500: '#ca74ee',
    950: '#000000',
  },
}
SCSS
$custom: #ca74ee;
$custom-light: #dc9ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74ee",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 282.295,
    "s": 78.205,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70073,
    "c": 0.1897,
    "h": 315.1
  },
  "luminance": 0.3122
}

Semantic roles & 50–950 ramp

primary
#CA74EE
secondary
#D8F0CD
accent
#DA0B48
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #CA74EE

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

Preview Lab → · Contrast checker → · Palette generator →

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