#CA9DF7#CA9DF7

#CA9DF7 is a light, vivid violet. Relative luminance 0.434; OKLCH L 77.0% C 0.133 H 306.5°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#CA9DF7
RGBrgb(202, 157, 247)
HSLhsl(270, 85%, 79%)
HSVhsv(270, 36%, 97%)
CMYKcmyk(18.2%, 36.4%, 0%, 3.1%)
CIE-LABlab(71.82, 33.54, -38.73)
CIE-LCHlch(71.82, 51.23, 310.90°)
OKLaboklab(77.04% 0.0792 -0.1071)
OKLCHoklch(77.04% 0.133 306.5)
XYZxyz(53.1993, 43.3863, 93.5494)
Luminance0.4339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9DF7 #CAF79D
analogous
#9D9DF7 #CA9DF7 #F79DF7
triadic
#CA9DF7 #F7CA9D #9DF7CA
tetradic
#CA9DF7 #F79D9D #CAF79D #9DF7F7
square
#CA9DF7 #F79D9D #CAF79D #9DF7F7
split-complementary
#CA9DF7 #F7F79D #9DF79D
monochromatic
#8D2CEE #AB64F2 #CA9DF7 #E9D6FC #F0E3FD

Accessibility & contrast

On white

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

On black

9.68
#CA9DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9DF7
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9DF7#FFFFFF#000000##000000
##CA9DF71.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAEFA
Deuteranopia (green-blind)
#94B0F4
Tritanopia (blue-blind)
#C4ABBF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ca9df7;
/* rgb */ color: rgb(202, 157, 247);
/* oklch */ color: oklch(77.0% 0.133 306.5);
Tailwind
colors: {
  custom: {
    50: '#dbbafa',
    500: '#ca9df7',
    950: '#000000',
  },
}
SCSS
$custom: #ca9df7;
$custom-light: #dbbafa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9df7",
  "rgb": {
    "r": 202,
    "g": 157,
    "b": 247
  },
  "hsl": {
    "h": 270,
    "s": 84.906,
    "l": 79.216
  },
  "oklch": {
    "l": 0.77041,
    "c": 0.13323,
    "h": 306.5
  },
  "luminance": 0.43386
}

Semantic roles & 50–950 ramp

primary
#CA9DF7
secondary
#E6F5D6
accent
#E10473
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA9DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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