#CA99F2#CA99F2

#CA99F2 is a light, vivid violet. Relative luminance 0.417; OKLCH L 76.1% C 0.134 H 308.8°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#CA99F2
RGBrgb(202, 153, 242)
HSLhsl(273, 77%, 77%)
HSVhsv(273, 37%, 95%)
CMYKcmyk(16.5%, 36.8%, 0%, 5.1%)
CIE-LABlab(70.70, 34.64, -37.74)
CIE-LCHlch(70.70, 51.23, 312.55°)
OKLaboklab(76.12% 0.0838 -0.1043)
OKLCHoklch(76.12% 0.134 308.8)
XYZxyz(51.7724, 41.7504, 89.3184)
Luminance0.4175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA99F2 #C1F299
analogous
#9E99F2 #CA99F2 #F299ED
triadic
#CA99F2 #F2CA99 #99F2CA
tetradic
#CA99F2 #F29E99 #C1F299 #99EDF2
square
#CA99F2 #F29E99 #C1F299 #99EDF2
split-complementary
#CA99F2 #EDF299 #99F29E
monochromatic
#922CE4 #AE63EB #CA99F2 #E6CFF9 #F1E4FC

Accessibility & contrast

On white

2.25
#CA99F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#CA99F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA99F2
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA99F2#FFFFFF#000000##000000
##CA99F21.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ABF5
Deuteranopia (green-blind)
#92AEEF
Tritanopia (blue-blind)
#C5A6BA
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ca99f2;
/* rgb */ color: rgb(202, 153, 242);
/* oklch */ color: oklch(76.1% 0.134 308.8);
Tailwind
colors: {
  custom: {
    50: '#dbb7f6',
    500: '#ca99f2',
    950: '#000000',
  },
}
SCSS
$custom: #ca99f2;
$custom-light: #dbb7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca99f2",
  "rgb": {
    "r": 202,
    "g": 153,
    "b": 242
  },
  "hsl": {
    "h": 273.034,
    "s": 77.391,
    "l": 77.451
  },
  "oklch": {
    "l": 0.76124,
    "c": 0.13377,
    "h": 308.8
  },
  "luminance": 0.4175
}

Semantic roles & 50–950 ramp

primary
#CA99F2
secondary
#E4F3D8
accent
#DA0C68
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CA99F2

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

Preview Lab → · Contrast checker → · Palette generator →

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