#CA7ED4#CA7ED4

#CA7ED4 is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.3% C 0.146 H 322.7°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#CA7ED4
RGBrgb(202, 126, 212)
HSLhsl(293, 50%, 66%)
HSVhsv(293, 41%, 83%)
CMYKcmyk(4.7%, 40.6%, 0%, 16.9%)
CIE-LABlab(63.54, 43.09, -32.30)
CIE-LCHlch(63.54, 53.85, 323.14°)
OKLaboklab(70.31% 0.1164 -0.0885)
OKLCHoklch(70.31% 0.146 322.7)
XYZxyz(43.7004, 32.2334, 66.1943)
Luminance0.3223 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7ED4 #88D47E
analogous
#9F7ED4 #CA7ED4 #D47EB3
triadic
#CA7ED4 #D4CA7E #7ED4CA
tetradic
#CA7ED4 #D49F7E #88D47E #7EB3D4
square
#CA7ED4 #D49F7E #88D47E #7EB3D4
split-complementary
#CA7ED4 #B3D47E #7ED49F
monochromatic
#9536A2 #B750C5 #CA7ED4 #DDACE3 #F0DAF3

Accessibility & contrast

On white

2.82
#CA7ED4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#CA7ED4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7ED4
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7ED4#FFFFFF#000000##000000
##CA7ED41.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7494D7
Deuteranopia (green-blind)
#889DD1
Tritanopia (blue-blind)
#CD889F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca7ed4;
/* rgb */ color: rgb(202, 126, 212);
/* oklch */ color: oklch(70.3% 0.146 322.7);
Tailwind
colors: {
  custom: {
    50: '#dba5e1',
    500: '#ca7ed4',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ed4;
$custom-light: #dba5e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ed4",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 212
  },
  "hsl": {
    "h": 293.023,
    "s": 50,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70313,
    "c": 0.14621,
    "h": 322.7
  },
  "luminance": 0.32232
}

Semantic roles & 50–950 ramp

primary
#CA7ED4
secondary
#CCE5C9
accent
#BD283A
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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