#CA9FFA#CA9FFA

#CA9FFA is a light, vivid violet. Relative luminance 0.443; OKLCH L 77.5% C 0.134 H 305.2°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#CA9FFA
RGBrgb(202, 159, 250)
HSLhsl(268, 90%, 80%)
HSVhsv(268, 36%, 98%)
CMYKcmyk(19.2%, 36.4%, 0%, 2%)
CIE-LABlab(72.40, 33.10, -39.45)
CIE-LCHlch(72.40, 51.50, 310.00°)
OKLaboklab(77.52% 0.0771 -0.1092)
OKLCHoklch(77.52% 0.134 305.2)
XYZxyz(54.0071, 44.2552, 96.1209)
Luminance0.4425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9FFA #CFFA9F
analogous
#9FA1FA #CA9FFA #F89FFA
triadic
#CA9FFA #FACA9F #9FFACA
tetradic
#CA9FFA #FA9FA1 #CFFA9F #9FFAF8
square
#CA9FFA #FA9FA1 #CFFA9F #9FFAF8
split-complementary
#CA9FFA #FAF89F #A1FA9F
monochromatic
#8A2BF4 #AA65F7 #CA9FFA #EAD9FD #EFE2FD

Accessibility & contrast

On white

2.13
#CA9FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#CA9FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9FFA
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9FFA#FFFFFF#000000##000000
##CA9FFA1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB0FE
Deuteranopia (green-blind)
#94B2F7
Tritanopia (blue-blind)
#C3ADC1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ca9ffa;
/* rgb */ color: rgb(202, 159, 250);
/* oklch */ color: oklch(77.5% 0.134 305.2);
Tailwind
colors: {
  custom: {
    50: '#dbbcfc',
    500: '#ca9ffa',
    950: '#000000',
  },
}
SCSS
$custom: #ca9ffa;
$custom-light: #dbbcfc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9ffa",
  "rgb": {
    "r": 202,
    "g": 159,
    "b": 250
  },
  "hsl": {
    "h": 268.352,
    "s": 90.099,
    "l": 80.196
  },
  "oklch": {
    "l": 0.77524,
    "c": 0.13367,
    "h": 305.2
  },
  "luminance": 0.44255
}

Semantic roles & 50–950 ramp

primary
#CA9FFA
secondary
#E6F6D5
accent
#E60079
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CA9FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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