#CA8CEE#CA8CEE

#CA8CEE is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.8% C 0.151 H 312.2°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#CA8CEE
RGBrgb(202, 140, 238)
HSLhsl(278, 74%, 74%)
HSVhsv(278, 41%, 93%)
CMYKcmyk(15.1%, 41.2%, 0%, 6.7%)
CIE-LABlab(67.64, 40.85, -40.32)
CIE-LCHlch(67.64, 57.40, 315.37°)
OKLaboklab(73.76% 0.1014 -0.1116)
OKLCHoklch(73.76% 0.151 312.2)
XYZxyz(49.1652, 37.4867, 85.5180)
Luminance0.3749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8CEE #B0EE8C
analogous
#998CEE #CA8CEE #EE8CE1
triadic
#CA8CEE #EECA8C #8CEECA
tetradic
#CA8CEE #EE998C #B0EE8C #8CE1EE
square
#CA8CEE #EE998C #B0EE8C #8CE1EE
split-complementary
#CA8CEE #E1EE8C #8CEE99
monochromatic
#9921DE #B157E6 #CA8CEE #E3C1F6 #F3E4FB

Accessibility & contrast

On white

2.47
#CA8CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#CA8CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8CEE
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8CEE#FFFFFF#000000##000000
##CA8CEE1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A1F2
Deuteranopia (green-blind)
#88A6EB
Tritanopia (blue-blind)
#C79AB2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca8cee;
/* rgb */ color: rgb(202, 140, 238);
/* oklch */ color: oklch(73.8% 0.151 312.2);
Tailwind
colors: {
  custom: {
    50: '#dbaff4',
    500: '#ca8cee',
    950: '#000000',
  },
}
SCSS
$custom: #ca8cee;
$custom-light: #dbaff4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8cee",
  "rgb": {
    "r": 202,
    "g": 140,
    "b": 238
  },
  "hsl": {
    "h": 277.959,
    "s": 74.242,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7376,
    "c": 0.15077,
    "h": 312.2
  },
  "luminance": 0.37486
}

Semantic roles & 50–950 ramp

primary
#CA8CEE
secondary
#E2F3D8
accent
#D60F58
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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