#CA7EE5#CA7EE5

#CA7EE5 is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.1% C 0.164 H 316.7°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#CA7EE5
RGBrgb(202, 126, 229)
HSLhsl(284, 66%, 70%)
HSVhsv(284, 45%, 90%)
CMYKcmyk(11.8%, 45%, 0%, 10.2%)
CIE-LABlab(64.27, 46.45, -40.62)
CIE-LCHlch(64.27, 61.71, 318.83°)
OKLaboklab(71.1% 0.1195 -0.1124)
OKLCHoklch(71.1% 0.164 316.7)
XYZxyz(45.9588, 33.1368, 78.0886)
Luminance0.3313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EE5 #99E57E
analogous
#977EE5 #CA7EE5 #E57ECD
triadic
#CA7EE5 #E5CA7E #7EE5CA
tetradic
#CA7EE5 #E5977E #99E57E #7ECDE5
square
#CA7EE5 #E5977E #99E57E #7ECDE5
split-complementary
#CA7EE5 #CDE57E #7EE597
monochromatic
#9927C2 #B54BDB #CA7EE5 #DFB1EF #F4E4FA

Accessibility & contrast

On white

2.75
#CA7EE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#CA7EE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EE5
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EE5#FFFFFF#000000##000000
##CA7EE51.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C97E9
Deuteranopia (green-blind)
#819EE2
Tritanopia (blue-blind)
#C98CA7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca7ee5;
/* rgb */ color: rgb(202, 126, 229);
/* oklch */ color: oklch(71.1% 0.164 316.7);
Tailwind
colors: {
  custom: {
    50: '#dca5ed',
    500: '#ca7ee5',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ee5;
$custom-light: #dca5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ee5",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 229
  },
  "hsl": {
    "h": 284.272,
    "s": 66.452,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71105,
    "c": 0.16406,
    "h": 316.7
  },
  "luminance": 0.33135
}

Semantic roles & 50–950 ramp

primary
#CA7EE5
secondary
#D8EED1
accent
#CE1747
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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