#CA8EED#CA8EED

#CA8EED is a light, vivid violet. Relative luminance 0.380; OKLCH L 74.0% C 0.146 H 312.2°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#CA8EED
RGBrgb(202, 142, 237)
HSLhsl(278, 73%, 74%)
HSVhsv(278, 40%, 93%)
CMYKcmyk(14.8%, 40.1%, 0%, 7.1%)
CIE-LABlab(68.03, 39.56, -39.16)
CIE-LCHlch(68.03, 55.66, 315.29°)
OKLaboklab(74.04% 0.0983 -0.1083)
OKLCHoklch(74.04% 0.146 312.2)
XYZxyz(49.3136, 38.0179, 84.8447)
Luminance0.3802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8EED #B1ED8E
analogous
#9B8EED #CA8EED #ED8EE0
triadic
#CA8EED #EDCA8E #8EEDCA
tetradic
#CA8EED #ED9B8E #B1ED8E #8EE0ED
square
#CA8EED #ED9B8E #B1ED8E #8EE0ED
split-complementary
#CA8EED #E0ED8E #8EED9B
monochromatic
#9824DC #B159E5 #CA8EED #E3C3F5 #F3E5FB

Accessibility & contrast

On white

2.44
#CA8EED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#CA8EED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8EED
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8EED#FFFFFF#000000##000000
##CA8EED1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F1
Deuteranopia (green-blind)
#8BA7EA
Tritanopia (blue-blind)
#C79CB2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ca8eed;
/* rgb */ color: rgb(202, 142, 237);
/* oklch */ color: oklch(74.0% 0.146 312.2);
Tailwind
colors: {
  custom: {
    50: '#dbb0f3',
    500: '#ca8eed',
    950: '#000000',
  },
}
SCSS
$custom: #ca8eed;
$custom-light: #dbb0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8eed",
  "rgb": {
    "r": 202,
    "g": 142,
    "b": 237
  },
  "hsl": {
    "h": 277.895,
    "s": 72.519,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74041,
    "c": 0.14628,
    "h": 312.2
  },
  "luminance": 0.38017
}

Semantic roles & 50–950 ramp

primary
#CA8EED
secondary
#E2F2D9
accent
#D51159
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8EED

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

Preview Lab → · Contrast checker → · Palette generator →

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