#CA7EDA#CA7EDA

#CA7EDA is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.6% C 0.152 H 320.5°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#CA7EDA
RGBrgb(202, 126, 218)
HSLhsl(290, 55%, 67%)
HSVhsv(290, 42%, 85%)
CMYKcmyk(7.3%, 42.2%, 0%, 14.5%)
CIE-LABlab(63.79, 44.25, -35.26)
CIE-LCHlch(63.79, 56.58, 321.45°)
OKLaboklab(70.58% 0.1176 -0.097)
OKLCHoklch(70.58% 0.152 320.5)
XYZxyz(44.4713, 32.5418, 70.2547)
Luminance0.3254 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EDA #8EDA7E
analogous
#9C7EDA #CA7EDA #DA7EBC
triadic
#CA7EDA #DACA7E #7EDACA
tetradic
#CA7EDA #DA9C7E #8EDA7E #7EBCDA
square
#CA7EDA #DA9C7E #8EDA7E #7EBCDA
split-complementary
#CA7EDA #BCDA7E #7EDA9C
monochromatic
#9731AC #B64ECC #CA7EDA #DEAEE8 #F1DDF5

Accessibility & contrast

On white

2.80
#CA7EDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#CA7EDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EDA
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EDA#FFFFFF#000000##000000
##CA7EDA1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7195DD
Deuteranopia (green-blind)
#869DD7
Tritanopia (blue-blind)
#CB89A2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca7eda;
/* rgb */ color: rgb(202, 126, 218);
/* oklch */ color: oklch(70.6% 0.152 320.5);
Tailwind
colors: {
  custom: {
    50: '#dca5e5',
    500: '#ca7eda',
    950: '#000000',
  },
}
SCSS
$custom: #ca7eda;
$custom-light: #dca5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7eda",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 218
  },
  "hsl": {
    "h": 289.565,
    "s": 55.422,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70585,
    "c": 0.1524,
    "h": 320.5
  },
  "luminance": 0.3254
}

Semantic roles & 50–950 ramp

primary
#CA7EDA
secondary
#D1E8CC
accent
#C3233E
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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