#CA99FB#CA99FB

#CA99FB is a light, vivid violet. Relative luminance 0.423; OKLCH L 76.5% C 0.145 H 306.3°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#CA99FB
RGBrgb(202, 153, 251)
HSLhsl(270, 92%, 79%)
HSVhsv(270, 39%, 98%)
CMYKcmyk(19.5%, 39%, 0%, 1.6%)
CIE-LABlab(71.08, 36.60, -42.05)
CIE-LCHlch(71.08, 55.75, 311.04°)
OKLaboklab(76.54% 0.0856 -0.1167)
OKLCHoklch(76.54% 0.145 306.3)
XYZxyz(53.1575, 42.3044, 96.6132)
Luminance0.4230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA99FB #CAFB99
analogous
#9999FB #CA99FB #FB99FB
triadic
#CA99FB #FBCA99 #99FBCA
tetradic
#CA99FB #FB9999 #CAFB99 #99FBFB
square
#CA99FB #FB9999 #CAFB99 #99FBFB
split-complementary
#CA99FB #FBFB99 #99FB99
monochromatic
#8D23F6 #AB5EF9 #CA99FB #E9D4FD #F0E2FE

Accessibility & contrast

On white

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

On black

9.46
#CA99FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA99FB
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA99FB#FFFFFF#000000##000000
##CA99FB1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ACFF
Deuteranopia (green-blind)
#8EAEF8
Tritanopia (blue-blind)
#C3A8BE
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ca99fb;
/* rgb */ color: rgb(202, 153, 251);
/* oklch */ color: oklch(76.5% 0.145 306.3);
Tailwind
colors: {
  custom: {
    50: '#dbb7fd',
    500: '#ca99fb',
    950: '#000000',
  },
}
SCSS
$custom: #ca99fb;
$custom-light: #dbb7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca99fb",
  "rgb": {
    "r": 202,
    "g": 153,
    "b": 251
  },
  "hsl": {
    "h": 270,
    "s": 92.453,
    "l": 79.216
  },
  "oklch": {
    "l": 0.76539,
    "c": 0.14472,
    "h": 306.3
  },
  "luminance": 0.42304
}

Semantic roles & 50–950 ramp

primary
#CA99FB
secondary
#E6F6D5
accent
#E60073
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA99FB

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

Preview Lab → · Contrast checker → · Palette generator →

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