#CA99FE#CA99FE

#CA99FE is a light, vivid violet. Relative luminance 0.425; OKLCH L 76.7% C 0.148 H 305.5°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#CA99FE
RGBrgb(202, 153, 254)
HSLhsl(269, 98%, 80%)
HSVhsv(269, 40%, 100%)
CMYKcmyk(20.5%, 39.8%, 0%, 0.4%)
CIE-LABlab(71.21, 37.27, -43.47)
CIE-LCHlch(71.21, 57.26, 310.61°)
OKLaboklab(76.68% 0.0862 -0.1208)
OKLCHoklch(76.68% 0.148 305.5)
XYZxyz(53.6341, 42.4951, 99.1236)
Luminance0.4249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA99FE #CDFE99
analogous
#999BFE #CA99FE #FD99FE
triadic
#CA99FE #FECA99 #99FECA
tetradic
#CA99FE #FE999B #CDFE99 #99FEFD
square
#CA99FE #FE999B #CDFE99 #99FEFD
split-complementary
#CA99FE #FEFD99 #9BFE99
monochromatic
#8B20FD #AB5CFD #CA99FE #E9D6FF #EFE1FF

Accessibility & contrast

On white

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

On black

9.50
#CA99FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA99FE
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA99FE#FFFFFF#000000##000000
##CA99FE1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca99fe;
/* rgb */ color: rgb(202, 153, 254);
/* oklch */ color: oklch(76.7% 0.148 305.5);
Tailwind
colors: {
  custom: {
    50: '#dcb7ff',
    500: '#ca99fe',
    950: '#000000',
  },
}
SCSS
$custom: #ca99fe;
$custom-light: #dcb7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca99fe",
  "rgb": {
    "r": 202,
    "g": 153,
    "b": 254
  },
  "hsl": {
    "h": 269.109,
    "s": 98.058,
    "l": 79.804
  },
  "oklch": {
    "l": 0.7668,
    "c": 0.14838,
    "h": 305.5
  },
  "luminance": 0.42495
}

Semantic roles & 50–950 ramp

primary
#CA99FE
secondary
#E6F7D4
accent
#E60076
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CA99FE

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

Preview Lab → · Contrast checker → · Palette generator →

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