#CA8DEA#CA8DEA

#CA8DEA is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.7% C 0.145 H 313.3°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#CA8DEA
RGBrgb(202, 141, 234)
HSLhsl(279, 69%, 74%)
HSVhsv(279, 40%, 92%)
CMYKcmyk(13.7%, 39.7%, 0%, 8.2%)
CIE-LABlab(67.69, 39.47, -38.05)
CIE-LCHlch(67.69, 54.82, 316.05°)
OKLaboklab(73.74% 0.0992 -0.1051)
OKLCHoklch(73.74% 0.145 313.3)
XYZxyz(48.7308, 37.5478, 82.5063)
Luminance0.3755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8DEA #ADEA8D
analogous
#9B8DEA #CA8DEA #EA8DDB
triadic
#CA8DEA #EACA8D #8DEACA
tetradic
#CA8DEA #EA9B8D #ADEA8D #8DDBEA
square
#CA8DEA #EA9B8D #ADEA8D #8DDBEA
split-complementary
#CA8DEA #DBEA8D #8DEA9B
monochromatic
#9927D5 #B259E0 #CA8DEA #E2C1F4 #F3E5FA

Accessibility & contrast

On white

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

On black

8.51
#CA8DEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8DEA
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8DEA#FFFFFF#000000##000000
##CA8DEA1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA1ED
Deuteranopia (green-blind)
#8BA6E7
Tritanopia (blue-blind)
#C79AB1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca8dea;
/* rgb */ color: rgb(202, 141, 234);
/* oklch */ color: oklch(73.7% 0.145 313.3);
Tailwind
colors: {
  custom: {
    50: '#dbaff1',
    500: '#ca8dea',
    950: '#000000',
  },
}
SCSS
$custom: #ca8dea;
$custom-light: #dbaff1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8dea",
  "rgb": {
    "r": 202,
    "g": 141,
    "b": 234
  },
  "hsl": {
    "h": 279.355,
    "s": 68.889,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73737,
    "c": 0.14451,
    "h": 313.3
  },
  "luminance": 0.37547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA8DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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