#CA8FF9#CA8FF9

#CA8FF9 is a light, vivid violet. Relative luminance 0.390; OKLCH L 74.8% C 0.159 H 308.7°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#CA8FF9
RGBrgb(202, 143, 249)
HSLhsl(273, 90%, 77%)
HSVhsv(273, 43%, 98%)
CMYKcmyk(18.9%, 42.6%, 0%, 2.4%)
CIE-LABlab(68.78, 41.59, -44.56)
CIE-LCHlch(68.78, 60.95, 313.03°)
OKLaboklab(74.78% 0.0991 -0.1239)
OKLCHoklch(74.78% 0.159 308.7)
XYZxyz(51.2752, 39.0417, 94.4388)
Luminance0.3904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FF9 #BEF98F
analogous
#958FF9 #CA8FF9 #F98FF3
triadic
#CA8FF9 #F9CA8F #8FF9CA
tetradic
#CA8FF9 #F9958F #BEF98F #8FF3F9
square
#CA8FF9 #F9958F #BEF98F #8FF3F9
split-complementary
#CA8FF9 #F3F98F #8FF995
monochromatic
#931BF3 #AF55F6 #CA8FF9 #E5C9FC #F1E2FD

Accessibility & contrast

On white

2.38
#CA8FF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#CA8FF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FF9
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FF9#FFFFFF#000000##000000
##CA8FF91.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A5FD
Deuteranopia (green-blind)
#86A9F6
Tritanopia (blue-blind)
#C4A0B8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ca8ff9;
/* rgb */ color: rgb(202, 143, 249);
/* oklch */ color: oklch(74.8% 0.159 308.7);
Tailwind
colors: {
  custom: {
    50: '#dcb1fb',
    500: '#ca8ff9',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ff9;
$custom-light: #dcb1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ff9",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 249
  },
  "hsl": {
    "h": 273.396,
    "s": 89.831,
    "l": 76.863
  },
  "oklch": {
    "l": 0.74777,
    "c": 0.15864,
    "h": 308.7
  },
  "luminance": 0.39041
}

Semantic roles & 50–950 ramp

primary
#CA8FF9
secondary
#E4F6D5
accent
#E60066
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #CA8FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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