#CA9DF3#CA9DF3

#CA9DF3 is a light, vivid violet. Relative luminance 0.431; OKLCH L 76.9% C 0.128 H 307.6°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#CA9DF3
RGBrgb(202, 157, 243)
HSLhsl(271, 78%, 78%)
HSVhsv(271, 35%, 95%)
CMYKcmyk(16.9%, 35.4%, 0%, 4.7%)
CIE-LABlab(71.65, 32.67, -36.81)
CIE-LCHlch(71.65, 49.21, 311.59°)
OKLaboklab(76.86% 0.0783 -0.1016)
OKLCHoklch(76.86% 0.128 307.6)
XYZxyz(52.5887, 43.1420, 90.3335)
Luminance0.4314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9DF3 #C6F39D
analogous
#9F9DF3 #CA9DF3 #F39DF1
triadic
#CA9DF3 #F3CA9D #9DF3CA
tetradic
#CA9DF3 #F39F9D #C6F39D #9DF1F3
square
#CA9DF3 #F39F9D #C6F39D #9DF1F3
split-complementary
#CA9DF3 #F1F39D #9DF39F
monochromatic
#8F30E6 #AD66EC #CA9DF3 #E7D4FA #F0E4FC

Accessibility & contrast

On white

2.18
#CA9DF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#CA9DF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9DF3
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9DF3#FFFFFF#000000##000000
##CA9DF31.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CAEF6
Deuteranopia (green-blind)
#96B0F1
Tritanopia (blue-blind)
#C5AABD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ca9df3;
/* rgb */ color: rgb(202, 157, 243);
/* oklch */ color: oklch(76.9% 0.128 307.6);
Tailwind
colors: {
  custom: {
    50: '#dbbaf7',
    500: '#ca9df3',
    950: '#000000',
  },
}
SCSS
$custom: #ca9df3;
$custom-light: #dbbaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9df3",
  "rgb": {
    "r": 202,
    "g": 157,
    "b": 243
  },
  "hsl": {
    "h": 271.395,
    "s": 78.182,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76861,
    "c": 0.12831,
    "h": 307.6
  },
  "luminance": 0.43142
}

Semantic roles & 50–950 ramp

primary
#CA9DF3
secondary
#E5F3D8
accent
#DA0B6E
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CA9DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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