#CA8DF9#CA8DF9

#CA8DF9 is a light, vivid violet. Relative luminance 0.384; OKLCH L 74.5% C 0.162 H 309.0°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#CA8DF9
RGBrgb(202, 141, 249)
HSLhsl(274, 90%, 76%)
HSVhsv(274, 43%, 98%)
CMYKcmyk(18.9%, 43.4%, 0%, 2.4%)
CIE-LABlab(68.35, 42.67, -45.24)
CIE-LCHlch(68.35, 62.19, 313.33°)
OKLaboklab(74.45% 0.1018 -0.1258)
OKLCHoklch(74.45% 0.162 309)
XYZxyz(50.9777, 38.4465, 94.3396)
Luminance0.3845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8DF9 #BCF98D
analogous
#948DF9 #CA8DF9 #F98DF2
triadic
#CA8DF9 #F9CA8D #8DF9CA
tetradic
#CA8DF9 #F9948D #BCF98D #8DF2F9
square
#CA8DF9 #F9948D #BCF98D #8DF2F9
split-complementary
#CA8DF9 #F2F98D #8DF994
monochromatic
#9419F3 #AF53F6 #CA8DF9 #E5C7FC #F1E2FD

Accessibility & contrast

On white

2.42
#CA8DF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#CA8DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8DF9
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8DF9#FFFFFF#000000##000000
##CA8DF91.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A4FD
Deuteranopia (green-blind)
#84A8F6
Tritanopia (blue-blind)
#C49EB7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ca8df9;
/* rgb */ color: rgb(202, 141, 249);
/* oklch */ color: oklch(74.5% 0.162 309.0);
Tailwind
colors: {
  custom: {
    50: '#dcaffb',
    500: '#ca8df9',
    950: '#000000',
  },
}
SCSS
$custom: #ca8df9;
$custom-light: #dcaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8df9",
  "rgb": {
    "r": 202,
    "g": 141,
    "b": 249
  },
  "hsl": {
    "h": 273.889,
    "s": 90,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74452,
    "c": 0.16189,
    "h": 309
  },
  "luminance": 0.38446
}

Semantic roles & 50–950 ramp

primary
#CA8DF9
secondary
#E3F6D5
accent
#E60064
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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