#CA99FF#CA99FF

#CA99FF is a light, vivid violet. Relative luminance 0.426; OKLCH L 76.7% C 0.150 H 305.3°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#CA99FF
RGBrgb(202, 153, 255)
HSLhsl(269, 100%, 80%)
HSVhsv(269, 40%, 100%)
CMYKcmyk(20.8%, 40%, 0%, 0%)
CIE-LABlab(71.25, 37.49, -43.95)
CIE-LCHlch(71.25, 57.77, 310.47°)
OKLaboklab(76.73% 0.0864 -0.1221)
OKLCHoklch(76.73% 0.15 305.3)
XYZxyz(53.7947, 42.5593, 99.9691)
Luminance0.4256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA99FF #CEFF99
analogous
#999BFF #CA99FF #FD99FF
triadic
#CA99FF #FFCA99 #99FFCA
tetradic
#CA99FF #FF999B #CEFF99 #99FFFD
square
#CA99FF #FF999B #CEFF99 #99FFFD
split-complementary
#CA99FF #FFFD99 #9BFF99
monochromatic
#8A1FFF #AA5CFF #CA99FF #EAD6FF #EFE0FF

Accessibility & contrast

On white

2.21
#CA99FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#CA99FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA99FF
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA99FF#FFFFFF#000000##000000
##CA99FF1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ADFF
Deuteranopia (green-blind)
#8CAFFC
Tritanopia (blue-blind)
#C2A9C0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ca99ff;
/* rgb */ color: rgb(202, 153, 255);
/* oklch */ color: oklch(76.7% 0.150 305.3);
Tailwind
colors: {
  custom: {
    50: '#dcb7ff',
    500: '#ca99ff',
    950: '#000000',
  },
}
SCSS
$custom: #ca99ff;
$custom-light: #dcb7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca99ff",
  "rgb": {
    "r": 202,
    "g": 153,
    "b": 255
  },
  "hsl": {
    "h": 268.824,
    "s": 100,
    "l": 80
  },
  "oklch": {
    "l": 0.76728,
    "c": 0.14961,
    "h": 305.3
  },
  "luminance": 0.42559
}

Semantic roles & 50–950 ramp

primary
#CA99FF
secondary
#E6F7D4
accent
#E60077
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA99FF

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

Preview Lab → · Contrast checker → · Palette generator →

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