#CA8EEA#CA8EEA

#CA8EEA is a light, vivid violet. Relative luminance 0.378; OKLCH L 73.9% C 0.143 H 313.2°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#CA8EEA
RGBrgb(202, 142, 234)
HSLhsl(279, 69%, 74%)
HSVhsv(279, 39%, 92%)
CMYKcmyk(13.7%, 39.3%, 0%, 8.2%)
CIE-LABlab(67.91, 38.93, -37.71)
CIE-LCHlch(67.91, 54.20, 315.91°)
OKLaboklab(73.9% 0.0977 -0.1041)
OKLCHoklch(73.9% 0.143 313.2)
XYZxyz(48.8789, 37.8440, 82.5557)
Luminance0.3784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8EEA #AEEA8E
analogous
#9C8EEA #CA8EEA #EA8EDC
triadic
#CA8EEA #EACA8E #8EEACA
tetradic
#CA8EEA #EA9C8E #AEEA8E #8EDCEA
square
#CA8EEA #EA9C8E #AEEA8E #8EDCEA
split-complementary
#CA8EEA #DCEA8E #8EEA9C
monochromatic
#9928D6 #B25AE0 #CA8EEA #E2C2F4 #F3E5FA

Accessibility & contrast

On white

2.45
#CA8EEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#CA8EEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8EEA
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8EEA#FFFFFF#000000##000000
##CA8EEA1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA2ED
Deuteranopia (green-blind)
#8CA7E7
Tritanopia (blue-blind)
#C79BB1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca8eea;
/* rgb */ color: rgb(202, 142, 234);
/* oklch */ color: oklch(73.9% 0.143 313.2);
Tailwind
colors: {
  custom: {
    50: '#dbb0f1',
    500: '#ca8eea',
    950: '#000000',
  },
}
SCSS
$custom: #ca8eea;
$custom-light: #dbb0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8eea",
  "rgb": {
    "r": 202,
    "g": 142,
    "b": 234
  },
  "hsl": {
    "h": 279.13,
    "s": 68.657,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73903,
    "c": 0.14282,
    "h": 313.2
  },
  "luminance": 0.37843
}

Semantic roles & 50–950 ramp

primary
#CA8EEA
secondary
#E2F2D9
accent
#D11556
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA8EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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