#CA9DFE#CA9DFE

#CA9DFE is a light, vivid violet. Relative luminance 0.438; OKLCH L 77.4% C 0.142 H 304.6°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#CA9DFE
RGBrgb(202, 157, 254)
HSLhsl(268, 98%, 81%)
HSVhsv(268, 38%, 100%)
CMYKcmyk(20.5%, 38.2%, 0%, 0.4%)
CIE-LABlab(72.11, 35.09, -42.06)
CIE-LCHlch(72.11, 54.78, 309.83°)
OKLaboklab(77.36% 0.0807 -0.1167)
OKLCHoklch(77.36% 0.142 304.6)
XYZxyz(54.2998, 43.8265, 99.3455)
Luminance0.4383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9DFE #D1FE9D
analogous
#9DA0FE #CA9DFE #FA9DFE
triadic
#CA9DFE #FECA9D #9DFECA
tetradic
#CA9DFE #FE9DA0 #D1FE9D #9DFEFA
square
#CA9DFE #FE9DA0 #D1FE9D #9DFEFA
split-complementary
#CA9DFE #FEFA9D #A0FE9D
monochromatic
#8824FD #A960FD #CA9DFE #EBDAFF #EFE1FF

Accessibility & contrast

On white

2.15
#CA9DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#CA9DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9DFE
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9DFE#FFFFFF#000000##000000
##CA9DFE1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AFFF
Deuteranopia (green-blind)
#91B1FB
Tritanopia (blue-blind)
#C2ACC2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ca9dfe;
/* rgb */ color: rgb(202, 157, 254);
/* oklch */ color: oklch(77.4% 0.142 304.6);
Tailwind
colors: {
  custom: {
    50: '#dbbaff',
    500: '#ca9dfe',
    950: '#000000',
  },
}
SCSS
$custom: #ca9dfe;
$custom-light: #dbbaff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9dfe",
  "rgb": {
    "r": 202,
    "g": 157,
    "b": 254
  },
  "hsl": {
    "h": 267.835,
    "s": 97.98,
    "l": 80.588
  },
  "oklch": {
    "l": 0.77362,
    "c": 0.14189,
    "h": 304.6
  },
  "luminance": 0.43826
}

Semantic roles & 50–950 ramp

primary
#CA9DFE
secondary
#E7F7D4
accent
#E6007B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA9DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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