#CA9CFD#CA9CFD

#CA9CFD is a light, vivid violet. Relative luminance 0.434; OKLCH L 77.1% C 0.142 H 305.1°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#CA9CFD
RGBrgb(202, 156, 253)
HSLhsl(268, 96%, 80%)
HSVhsv(268, 38%, 99%)
CMYKcmyk(20.2%, 38.3%, 0%, 0.8%)
CIE-LABlab(71.84, 35.41, -41.94)
CIE-LCHlch(71.84, 54.89, 310.17°)
OKLaboklab(77.14% 0.0819 -0.1164)
OKLCHoklch(77.14% 0.142 305.1)
XYZxyz(53.9716, 43.4256, 98.4481)
Luminance0.4343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9CFD #CFFD9C
analogous
#9C9EFD #CA9CFD #FB9CFD
triadic
#CA9CFD #FDCA9C #9CFDCA
tetradic
#CA9CFD #FD9C9E #CFFD9C #9CFDFB
square
#CA9CFD #FD9C9E #CFFD9C #9CFDFB
split-complementary
#CA9CFD #FDFB9C #9EFD9C
monochromatic
#8A24FB #AA60FC #CA9CFD #EAD8FE #EFE1FE

Accessibility & contrast

On white

2.17
#CA9CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#CA9CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9CFD
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9CFD#FFFFFF#000000##000000
##CA9CFD1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AFFF
Deuteranopia (green-blind)
#90B0FA
Tritanopia (blue-blind)
#C2ABC1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ca9cfd;
/* rgb */ color: rgb(202, 156, 253);
/* oklch */ color: oklch(77.1% 0.142 305.1);
Tailwind
colors: {
  custom: {
    50: '#dbbafe',
    500: '#ca9cfd',
    950: '#000000',
  },
}
SCSS
$custom: #ca9cfd;
$custom-light: #dbbafe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9cfd",
  "rgb": {
    "r": 202,
    "g": 156,
    "b": 253
  },
  "hsl": {
    "h": 268.454,
    "s": 96.04,
    "l": 80.196
  },
  "oklch": {
    "l": 0.77144,
    "c": 0.14228,
    "h": 305.1
  },
  "luminance": 0.43425
}

Semantic roles & 50–950 ramp

primary
#CA9CFD
secondary
#E6F7D4
accent
#E60079
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA9CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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