#CA8EEE#CA8EEE

#CA8EEE is a light, vivid violet. Relative luminance 0.381; OKLCH L 74.1% C 0.147 H 311.9°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#CA8EEE
RGBrgb(202, 142, 238)
HSLhsl(278, 74%, 75%)
HSVhsv(278, 40%, 93%)
CMYKcmyk(15.1%, 40.3%, 0%, 6.7%)
CIE-LABlab(68.08, 39.77, -39.64)
CIE-LCHlch(68.08, 56.15, 315.09°)
OKLaboklab(74.09% 0.0985 -0.1097)
OKLCHoklch(74.09% 0.147 311.9)
XYZxyz(49.4601, 38.0765, 85.6163)
Luminance0.3808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8EEE #B2EE8E
analogous
#9A8EEE #CA8EEE #EE8EE2
triadic
#CA8EEE #EECA8E #8EEECA
tetradic
#CA8EEE #EE9A8E #B2EE8E #8EE2EE
square
#CA8EEE #EE9A8E #B2EE8E #8EE2EE
split-complementary
#CA8EEE #E2EE8E #8EEE9A
monochromatic
#9824DE #B159E6 #CA8EEE #E3C3F6 #F3E4FB

Accessibility & contrast

On white

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

On black

8.62
#CA8EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8EEE
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8EEE#FFFFFF#000000##000000
##CA8EEE1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA3F2
Deuteranopia (green-blind)
#8AA7EB
Tritanopia (blue-blind)
#C79CB3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ca8eee;
/* rgb */ color: rgb(202, 142, 238);
/* oklch */ color: oklch(74.1% 0.147 311.9);
Tailwind
colors: {
  custom: {
    50: '#dbb0f4',
    500: '#ca8eee',
    950: '#000000',
  },
}
SCSS
$custom: #ca8eee;
$custom-light: #dbb0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8eee",
  "rgb": {
    "r": 202,
    "g": 142,
    "b": 238
  },
  "hsl": {
    "h": 277.5,
    "s": 73.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74088,
    "c": 0.14744,
    "h": 311.9
  },
  "luminance": 0.38076
}

Semantic roles & 50–950 ramp

primary
#CA8EEE
secondary
#E2F3D8
accent
#D6105A
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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