#CA99EA#CA99EA

#CA99EA is a light, vivid violet. Relative luminance 0.413; OKLCH L 75.8% C 0.124 H 311.3°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#CA99EA
RGBrgb(202, 153, 234)
HSLhsl(276, 66%, 76%)
HSVhsv(276, 35%, 92%)
CMYKcmyk(13.7%, 34.6%, 0%, 8.2%)
CIE-LABlab(70.37, 32.94, -33.88)
CIE-LCHlch(70.37, 47.25, 314.19°)
OKLaboklab(75.77% 0.082 -0.0932)
OKLCHoklch(75.77% 0.124 311.3)
XYZxyz(50.5971, 41.2803, 83.1284)
Luminance0.4128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA99EA #B9EA99
analogous
#A199EA #CA99EA #EA99E2
triadic
#CA99EA #EACA99 #99EACA
tetradic
#CA99EA #EAA199 #B9EA99 #99E2EA
square
#CA99EA #EAA199 #B9EA99 #99E2EA
split-complementary
#CA99EA #E2EA99 #99EAA1
monochromatic
#9533D5 #B066E0 #CA99EA #E4CCF4 #F2E6FA

Accessibility & contrast

On white

2.27
#CA99EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#CA99EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA99EA
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA99EA#FFFFFF#000000##000000
##CA99EA1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BAAED
Deuteranopia (green-blind)
#96ADE8
Tritanopia (blue-blind)
#C7A4B7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ca99ea;
/* rgb */ color: rgb(202, 153, 234);
/* oklch */ color: oklch(75.8% 0.124 311.3);
Tailwind
colors: {
  custom: {
    50: '#dbb7f1',
    500: '#ca99ea',
    950: '#000000',
  },
}
SCSS
$custom: #ca99ea;
$custom-light: #dbb7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca99ea",
  "rgb": {
    "r": 202,
    "g": 153,
    "b": 234
  },
  "hsl": {
    "h": 276.296,
    "s": 65.854,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75769,
    "c": 0.12414,
    "h": 311.3
  },
  "luminance": 0.4128
}

Semantic roles & 50–950 ramp

primary
#CA99EA
secondary
#E3F1DA
accent
#CE1860
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA99EA

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

Preview Lab → · Contrast checker → · Palette generator →

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