#CA7AE2#CA7AE2

#CA7AE2 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.3% C 0.167 H 318.1°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#CA7AE2
RGBrgb(202, 122, 226)
HSLhsl(286, 64%, 68%)
HSVhsv(286, 46%, 89%)
CMYKcmyk(10.6%, 46%, 0%, 11.4%)
CIE-LABlab(63.32, 47.94, -40.45)
CIE-LCHlch(63.32, 62.72, 319.84°)
OKLaboklab(70.35% 0.1246 -0.1119)
OKLCHoklch(70.35% 0.167 318.1)
XYZxyz(45.0422, 31.9681, 75.7345)
Luminance0.3197 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7AE2 #92E27A
analogous
#967AE2 #CA7AE2 #E27AC6
triadic
#CA7AE2 #E2CA7A #7AE2CA
tetradic
#CA7AE2 #E2967A #92E27A #7AC6E2
square
#CA7AE2 #E2967A #92E27A #7AC6E2
split-complementary
#CA7AE2 #C6E27A #7AE296
monochromatic
#9828B9 #B648D7 #CA7AE2 #DEACED #F2DEF8

Accessibility & contrast

On white

2.84
#CA7AE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#CA7AE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7AE2
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7AE2#FFFFFF#000000##000000
##CA7AE21.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6894E6
Deuteranopia (green-blind)
#7F9CDF
Tritanopia (blue-blind)
#CA88A3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca7ae2;
/* rgb */ color: rgb(202, 122, 226);
/* oklch */ color: oklch(70.3% 0.167 318.1);
Tailwind
colors: {
  custom: {
    50: '#dca2eb',
    500: '#ca7ae2',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ae2;
$custom-light: #dca2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ae2",
  "rgb": {
    "r": 202,
    "g": 122,
    "b": 226
  },
  "hsl": {
    "h": 286.154,
    "s": 64.198,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70349,
    "c": 0.16748,
    "h": 318.1
  },
  "luminance": 0.31967
}

Semantic roles & 50–950 ramp

primary
#CA7AE2
secondary
#D3ECCC
accent
#CC1943
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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