#CA8DEF#CA8DEF

#CA8DEF is a light, vivid violet. Relative luminance 0.378; OKLCH L 74.0% C 0.150 H 311.8°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#CA8DEF
RGBrgb(202, 141, 239)
HSLhsl(277, 75%, 75%)
HSVhsv(277, 41%, 94%)
CMYKcmyk(15.5%, 41%, 0%, 6.3%)
CIE-LABlab(67.90, 40.52, -40.46)
CIE-LCHlch(67.90, 57.26, 315.04°)
OKLaboklab(73.97% 0.1001 -0.112)
OKLCHoklch(73.97% 0.15 311.8)
XYZxyz(49.4593, 37.8392, 86.3428)
Luminance0.3784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8DEF #B2EF8D
analogous
#998DEF #CA8DEF #EF8DE3
triadic
#CA8DEF #EFCA8D #8DEFCA
tetradic
#CA8DEF #EF998D #B2EF8D #8DE3EF
square
#CA8DEF #EF998D #B2EF8D #8DE3EF
split-complementary
#CA8DEF #E3EF8D #8DEF99
monochromatic
#9822E0 #B157E7 #CA8DEF #E3C3F7 #F3E4FB

Accessibility & contrast

On white

2.45
#CA8DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#CA8DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8DEF
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8DEF#FFFFFF#000000##000000
##CA8DEF1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA2F3
Deuteranopia (green-blind)
#89A7EC
Tritanopia (blue-blind)
#C69BB3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca8def;
/* rgb */ color: rgb(202, 141, 239);
/* oklch */ color: oklch(74.0% 0.150 311.8);
Tailwind
colors: {
  custom: {
    50: '#dbaff4',
    500: '#ca8def',
    950: '#000000',
  },
}
SCSS
$custom: #ca8def;
$custom-light: #dbaff4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8def",
  "rgb": {
    "r": 202,
    "g": 141,
    "b": 239
  },
  "hsl": {
    "h": 277.347,
    "s": 75.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73971,
    "c": 0.15026,
    "h": 311.8
  },
  "luminance": 0.37838
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA8DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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