#CA8CEC#CA8CEC

#CA8CEC is a light, vivid violet. Relative luminance 0.374; OKLCH L 73.7% C 0.148 H 312.8°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#CA8CEC
RGBrgb(202, 140, 236)
HSLhsl(279, 72%, 74%)
HSVhsv(279, 41%, 93%)
CMYKcmyk(14.4%, 40.7%, 0%, 7.5%)
CIE-LABlab(67.55, 40.43, -39.36)
CIE-LCHlch(67.55, 56.42, 315.77°)
OKLaboklab(73.67% 0.101 -0.1089)
OKLCHoklch(73.67% 0.148 312.8)
XYZxyz(48.8730, 37.3698, 83.9791)
Luminance0.3737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8CEC #AEEC8C
analogous
#9A8CEC #CA8CEC #EC8CDE
triadic
#CA8CEC #ECCA8C #8CECCA
tetradic
#CA8CEC #EC9A8C #AEEC8C #8CDEEC
square
#CA8CEC #EC9A8C #AEEC8C #8CDEEC
split-complementary
#CA8CEC #DEEC8C #8CEC9A
monochromatic
#9924DA #B257E3 #CA8CEC #E2C1F5 #F3E5FB

Accessibility & contrast

On white

2.48
#CA8CEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#CA8CEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8CEC
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8CEC#FFFFFF#000000##000000
##CA8CEC1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1F0
Deuteranopia (green-blind)
#89A6E9
Tritanopia (blue-blind)
#C79AB1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ca8cec;
/* rgb */ color: rgb(202, 140, 236);
/* oklch */ color: oklch(73.7% 0.148 312.8);
Tailwind
colors: {
  custom: {
    50: '#dbaef2',
    500: '#ca8cec',
    950: '#000000',
  },
}
SCSS
$custom: #ca8cec;
$custom-light: #dbaef2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8cec",
  "rgb": {
    "r": 202,
    "g": 140,
    "b": 236
  },
  "hsl": {
    "h": 278.75,
    "s": 71.642,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73666,
    "c": 0.14848,
    "h": 312.8
  },
  "luminance": 0.37369
}

Semantic roles & 50–950 ramp

primary
#CA8CEC
secondary
#E2F2D9
accent
#D41256
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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