#CA99FA#CA99FA

#CA99FA is a light, vivid violet. Relative luminance 0.422; OKLCH L 76.5% C 0.143 H 306.5°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#CA99FA
RGBrgb(202, 153, 250)
HSLhsl(270, 91%, 79%)
HSVhsv(270, 39%, 98%)
CMYKcmyk(19.2%, 38.8%, 0%, 2%)
CIE-LABlab(71.04, 36.38, -41.57)
CIE-LCHlch(71.04, 55.25, 311.19°)
OKLaboklab(76.49% 0.0854 -0.1153)
OKLCHoklch(76.49% 0.143 306.5)
XYZxyz(53.0003, 42.2415, 95.7853)
Luminance0.4224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA99FA #C9FA99
analogous
#9A99FA #CA99FA #FA99FA
triadic
#CA99FA #FACA99 #99FACA
tetradic
#CA99FA #FA9A99 #C9FA99 #99FAFA
square
#CA99FA #FA9A99 #C9FA99 #99FAFA
split-complementary
#CA99FA #FAFA99 #99FA9A
monochromatic
#8D24F4 #AC5FF7 #CA99FA #E8D3FD #F0E2FE

Accessibility & contrast

On white

2.22
#CA99FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#CA99FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA99FA
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA99FA#FFFFFF#000000##000000
##CA99FA1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ACFE
Deuteranopia (green-blind)
#8FAEF7
Tritanopia (blue-blind)
#C3A8BE
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ca99fa;
/* rgb */ color: rgb(202, 153, 250);
/* oklch */ color: oklch(76.5% 0.143 306.5);
Tailwind
colors: {
  custom: {
    50: '#dbb7fc',
    500: '#ca99fa',
    950: '#000000',
  },
}
SCSS
$custom: #ca99fa;
$custom-light: #dbb7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca99fa",
  "rgb": {
    "r": 202,
    "g": 153,
    "b": 250
  },
  "hsl": {
    "h": 270.309,
    "s": 90.654,
    "l": 79.02
  },
  "oklch": {
    "l": 0.76492,
    "c": 0.14349,
    "h": 306.5
  },
  "luminance": 0.42241
}

Semantic roles & 50–950 ramp

primary
#CA99FA
secondary
#E5F6D5
accent
#E60072
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA99FA

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

Preview Lab → · Contrast checker → · Palette generator →

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