#CA7EDF#CA7EDF

#CA7EDF is a light, vivid purple. Relative luminance 0.328; OKLCH L 70.8% C 0.158 H 318.7°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#CA7EDF
RGBrgb(202, 126, 223)
HSLhsl(287, 60%, 68%)
HSVhsv(287, 43%, 87%)
CMYKcmyk(9.4%, 43.5%, 0%, 12.5%)
CIE-LABlab(64.00, 45.24, -37.71)
CIE-LCHlch(64.00, 58.89, 320.19°)
OKLaboklab(70.82% 0.1185 -0.104)
OKLCHoklch(70.82% 0.158 318.7)
XYZxyz(45.1355, 32.8074, 73.7526)
Luminance0.3281 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EDF #93DF7E
analogous
#997EDF #CA7EDF #DF7EC3
triadic
#CA7EDF #DFCA7E #7EDFCA
tetradic
#CA7EDF #DF997E #93DF7E #7EC3DF
square
#CA7EDF #DF997E #93DF7E #7EC3DF
split-complementary
#CA7EDF #C3DF7E #7EDF99
monochromatic
#982DB6 #B64DD3 #CA7EDF #DEAFEB #F2E0F7

Accessibility & contrast

On white

2.78
#CA7EDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#CA7EDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EDF
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EDF#FFFFFF#000000##000000
##CA7EDF1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F96E2
Deuteranopia (green-blind)
#839EDC
Tritanopia (blue-blind)
#CA8BA4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca7edf;
/* rgb */ color: rgb(202, 126, 223);
/* oklch */ color: oklch(70.8% 0.158 318.7);
Tailwind
colors: {
  custom: {
    50: '#dca5e9',
    500: '#ca7edf',
    950: '#000000',
  },
}
SCSS
$custom: #ca7edf;
$custom-light: #dca5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7edf",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 223
  },
  "hsl": {
    "h": 287.01,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70818,
    "c": 0.15766,
    "h": 318.7
  },
  "luminance": 0.32806
}

Semantic roles & 50–950 ramp

primary
#CA7EDF
secondary
#D4EBCE
accent
#C81E42
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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