#CA9FF2#CA9FF2

#CA9FF2 is a light, vivid violet. Relative luminance 0.438; OKLCH L 77.2% C 0.124 H 307.5°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#CA9FF2
RGBrgb(202, 159, 242)
HSLhsl(271, 76%, 79%)
HSVhsv(271, 34%, 95%)
CMYKcmyk(16.5%, 34.3%, 0%, 5.1%)
CIE-LABlab(72.07, 31.36, -35.61)
CIE-LCHlch(72.07, 47.45, 311.37°)
OKLaboklab(77.17% 0.0753 -0.0982)
OKLCHoklch(77.17% 0.124 307.5)
XYZxyz(52.7792, 43.7641, 89.6540)
Luminance0.4376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9FF2 #C7F29F
analogous
#A09FF2 #CA9FF2 #F29FF1
triadic
#CA9FF2 #F2CA9F #9FF2CA
tetradic
#CA9FF2 #F2A09F #C7F29F #9FF1F2
square
#CA9FF2 #F2A09F #C7F29F #9FF1F2
split-complementary
#CA9FF2 #F1F29F #9FF2A0
monochromatic
#8E33E3 #AC69EB #CA9FF2 #E8D5F9 #F0E4FB

Accessibility & contrast

On white

2.15
#CA9FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#CA9FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9FF2
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9FF2#FFFFFF#000000##000000
##CA9FF21.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAFF5
Deuteranopia (green-blind)
#98B1F0
Tritanopia (blue-blind)
#C5ABBE
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ca9ff2;
/* rgb */ color: rgb(202, 159, 242);
/* oklch */ color: oklch(77.2% 0.124 307.5);
Tailwind
colors: {
  custom: {
    50: '#dbbcf6',
    500: '#ca9ff2',
    950: '#000000',
  },
}
SCSS
$custom: #ca9ff2;
$custom-light: #dbbcf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9ff2",
  "rgb": {
    "r": 202,
    "g": 159,
    "b": 242
  },
  "hsl": {
    "h": 271.084,
    "s": 76.147,
    "l": 78.627
  },
  "oklch": {
    "l": 0.77166,
    "c": 0.12374,
    "h": 307.5
  },
  "luminance": 0.43764
}

Semantic roles & 50–950 ramp

primary
#CA9FF2
secondary
#E5F3D8
accent
#D80D6F
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #CA9FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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