#CA99F9#CA99F9

#CA99F9 is a light, vivid violet. Relative luminance 0.422; OKLCH L 76.4% C 0.142 H 306.8°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#CA99F9
RGBrgb(202, 153, 249)
HSLhsl(271, 89%, 79%)
HSVhsv(271, 39%, 98%)
CMYKcmyk(18.9%, 38.6%, 0%, 2.4%)
CIE-LABlab(70.99, 36.16, -41.09)
CIE-LCHlch(70.99, 54.74, 311.35°)
OKLaboklab(76.44% 0.0852 -0.1139)
OKLCHoklch(76.44% 0.142 306.8)
XYZxyz(52.8439, 42.1790, 94.9616)
Luminance0.4218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA99F9 #C8F999
analogous
#9A99F9 #CA99F9 #F999F8
triadic
#CA99F9 #F9CA99 #99F9CA
tetradic
#CA99F9 #F99A99 #C8F999 #99F8F9
square
#CA99F9 #F99A99 #C8F999 #99F8F9
split-complementary
#CA99F9 #F8F999 #99F99A
monochromatic
#8E25F2 #AC5FF6 #CA99F9 #E8D3FC #F0E2FD

Accessibility & contrast

On white

2.23
#CA99F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#CA99F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA99F9
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA99F9#FFFFFF#000000##000000
##CA99F91.002.239.449.44
#FFFFFF2.231.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ACFD
Deuteranopia (green-blind)
#8FAEF6
Tritanopia (blue-blind)
#C3A8BD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ca99f9;
/* rgb */ color: rgb(202, 153, 249);
/* oklch */ color: oklch(76.4% 0.142 306.8);
Tailwind
colors: {
  custom: {
    50: '#dbb7fb',
    500: '#ca99f9',
    950: '#000000',
  },
}
SCSS
$custom: #ca99f9;
$custom-light: #dbb7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca99f9",
  "rgb": {
    "r": 202,
    "g": 153,
    "b": 249
  },
  "hsl": {
    "h": 270.625,
    "s": 88.889,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76445,
    "c": 0.14228,
    "h": 306.8
  },
  "luminance": 0.42179
}

Semantic roles & 50–950 ramp

primary
#CA99F9
secondary
#E5F5D6
accent
#E60070
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA99F9

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

Preview Lab → · Contrast checker → · Palette generator →

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