#CA74E7#CA74E7

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

Color values

HEX#CA74E7
RGBrgb(202, 116, 231)
HSLhsl(285, 71%, 68%)
HSVhsv(285, 50%, 91%)
CMYKcmyk(12.6%, 49.8%, 0%, 9.4%)
CIE-LABlab(62.35, 52.04, -44.75)
CIE-LCHlch(62.35, 68.63, 319.31°)
OKLaboklab(69.71% 0.1335 -0.1243)
OKLCHoklch(69.71% 0.182 317.1)
XYZxyz(45.0242, 30.8183, 79.1626)
Luminance0.3082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74E7 #91E774
analogous
#9174E7 #CA74E7 #E774CA
triadic
#CA74E7 #E7CA74 #74E7CA
tetradic
#CA74E7 #E79174 #91E774 #74CAE7
square
#CA74E7 #E79174 #91E774 #74CAE7
split-complementary
#CA74E7 #CAE774 #74E791
monochromatic
#9821C0 #B640DE #CA74E7 #DEA8F0 #F2DCF9

Accessibility & contrast

On white

2.93
#CA74E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#CA74E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA74E7
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74E7#FFFFFF#000000##000000
##CA74E71.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D91EB
Deuteranopia (green-blind)
#7799E4
Tritanopia (blue-blind)
#C985A3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca74e7;
/* rgb */ color: rgb(202, 116, 231);
/* oklch */ color: oklch(69.7% 0.182 317.1);
Tailwind
colors: {
  custom: {
    50: '#dc9fef',
    500: '#ca74e7',
    950: '#000000',
  },
}
SCSS
$custom: #ca74e7;
$custom-light: #dc9fef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74e7",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 231
  },
  "hsl": {
    "h": 284.87,
    "s": 70.552,
    "l": 68.039
  },
  "oklch": {
    "l": 0.6971,
    "c": 0.18241,
    "h": 317.1
  },
  "luminance": 0.30817
}

Semantic roles & 50–950 ramp

primary
#CA74E7
secondary
#D3EDCA
accent
#D31343
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CA74E7

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

Preview Lab → · Contrast checker → · Palette generator →

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