#CA8FFD#CA8FFD

#CA8FFD is a light, vivid violet. Relative luminance 0.393; OKLCH L 75.0% C 0.163 H 307.6°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#CA8FFD
RGBrgb(202, 143, 253)
HSLhsl(272, 96%, 78%)
HSVhsv(272, 43%, 99%)
CMYKcmyk(20.2%, 43.5%, 0%, 0.8%)
CIE-LABlab(68.96, 42.47, -46.45)
CIE-LCHlch(68.96, 62.94, 312.43°)
OKLaboklab(74.97% 0.0997 -0.1294)
OKLCHoklch(74.97% 0.163 307.6)
XYZxyz(51.9057, 39.2939, 97.7595)
Luminance0.3929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FFD #C2FD8F
analogous
#938FFD #CA8FFD #FD8FF9
triadic
#CA8FFD #FDCA8F #8FFDCA
tetradic
#CA8FFD #FD938F #C2FD8F #8FF9FD
square
#CA8FFD #FD938F #C2FD8F #8FF9FD
split-complementary
#CA8FFD #F9FD8F #8FFD93
monochromatic
#9117FB #AE53FC #CA8FFD #E6CBFE #F1E1FE

Accessibility & contrast

On white

2.37
#CA8FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#CA8FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FFD
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FFD#FFFFFF#000000##000000
##CA8FFD1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A6FF
Deuteranopia (green-blind)
#84A9FA
Tritanopia (blue-blind)
#C3A1BA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ca8ffd;
/* rgb */ color: rgb(202, 143, 253);
/* oklch */ color: oklch(75.0% 0.163 307.6);
Tailwind
colors: {
  custom: {
    50: '#dcb1fe',
    500: '#ca8ffd',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ffd;
$custom-light: #dcb1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ffd",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 253
  },
  "hsl": {
    "h": 272.182,
    "s": 96.491,
    "l": 77.647
  },
  "oklch": {
    "l": 0.74974,
    "c": 0.16335,
    "h": 307.6
  },
  "luminance": 0.39293
}

Semantic roles & 50–950 ramp

primary
#CA8FFD
secondary
#E4F7D4
accent
#E6006A
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151118
muted
#838086

Preview Lab

Preview with #CA8FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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