#CA74E5#CA74E5

#CA74E5 is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.6% C 0.180 H 317.6°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#CA74E5
RGBrgb(202, 116, 229)
HSLhsl(286, 68%, 68%)
HSVhsv(286, 49%, 90%)
CMYKcmyk(11.8%, 49.3%, 0%, 10.2%)
CIE-LABlab(62.26, 51.63, -43.78)
CIE-LCHlch(62.26, 67.70, 319.70°)
OKLaboklab(69.61% 0.1333 -0.1215)
OKLCHoklch(69.61% 0.18 317.6)
XYZxyz(44.7434, 30.7060, 77.6835)
Luminance0.3070 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74E5 #8FE574
analogous
#9274E5 #CA74E5 #E574C7
triadic
#CA74E5 #E5CA74 #74E5CA
tetradic
#CA74E5 #E59274 #8FE574 #74C7E5
square
#CA74E5 #E59274 #8FE574 #74C7E5
split-complementary
#CA74E5 #C7E574 #74E592
monochromatic
#9723BC #B640DB #CA74E5 #DEA8EF #F1DBF8

Accessibility & contrast

On white

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

On black

7.14
#CA74E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74E5
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74E5#FFFFFF#000000##000000
##CA74E51.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F91E9
Deuteranopia (green-blind)
#7899E2
Tritanopia (blue-blind)
#CA84A2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca74e5;
/* rgb */ color: rgb(202, 116, 229);
/* oklch */ color: oklch(69.6% 0.180 317.6);
Tailwind
colors: {
  custom: {
    50: '#dc9fed',
    500: '#ca74e5',
    950: '#000000',
  },
}
SCSS
$custom: #ca74e5;
$custom-light: #dc9fed;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74e5",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 229
  },
  "hsl": {
    "h": 285.664,
    "s": 68.485,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69608,
    "c": 0.18034,
    "h": 317.6
  },
  "luminance": 0.30704
}

Semantic roles & 50–950 ramp

primary
#CA74E5
secondary
#D1ECC9
accent
#D01542
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CA74E5

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

Preview Lab → · Contrast checker → · Palette generator →

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