#CA9DF6#CA9DF6

#CA9DF6 is a light, vivid violet. Relative luminance 0.433; OKLCH L 77.0% C 0.132 H 306.8°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#CA9DF6
RGBrgb(202, 157, 246)
HSLhsl(270, 83%, 79%)
HSVhsv(270, 36%, 96%)
CMYKcmyk(17.9%, 36.2%, 0%, 3.5%)
CIE-LABlab(71.77, 33.32, -38.25)
CIE-LCHlch(71.77, 50.73, 311.06°)
OKLaboklab(77% 0.079 -0.1058)
OKLCHoklch(77% 0.132 306.8)
XYZxyz(53.0454, 43.3247, 92.7389)
Luminance0.4332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9DF6 #C9F69D
analogous
#9E9DF6 #CA9DF6 #F69DF6
triadic
#CA9DF6 #F6CA9D #9DF6CA
tetradic
#CA9DF6 #F69E9D #C9F69D #9DF6F6
square
#CA9DF6 #F69E9D #C9F69D #9DF6F6
split-complementary
#CA9DF6 #F6F69D #9DF69E
monochromatic
#8D2DEC #AC65F1 #CA9DF6 #E8D5FB #F0E3FC

Accessibility & contrast

On white

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

On black

9.66
#CA9DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9DF6
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9DF6#FFFFFF#000000##000000
##CA9DF61.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAEF9
Deuteranopia (green-blind)
#94B0F3
Tritanopia (blue-blind)
#C4AABE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ca9df6;
/* rgb */ color: rgb(202, 157, 246);
/* oklch */ color: oklch(77.0% 0.132 306.8);
Tailwind
colors: {
  custom: {
    50: '#dbbaf9',
    500: '#ca9df6',
    950: '#000000',
  },
}
SCSS
$custom: #ca9df6;
$custom-light: #dbbaf9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9df6",
  "rgb": {
    "r": 202,
    "g": 157,
    "b": 246
  },
  "hsl": {
    "h": 270.337,
    "s": 83.178,
    "l": 79.02
  },
  "oklch": {
    "l": 0.76995,
    "c": 0.13201,
    "h": 306.8
  },
  "luminance": 0.43324
}

Semantic roles & 50–950 ramp

primary
#CA9DF6
secondary
#E5F4D7
accent
#E00672
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA9DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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