#CA99EB#CA99EB

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

Color values

HEX#CA99EB
RGBrgb(202, 153, 235)
HSLhsl(276, 67%, 76%)
HSVhsv(276, 35%, 92%)
CMYKcmyk(14%, 34.9%, 0%, 7.8%)
CIE-LABlab(70.41, 33.15, -34.36)
CIE-LCHlch(70.41, 47.74, 313.97°)
OKLaboklab(75.81% 0.0822 -0.0946)
OKLCHoklch(75.81% 0.125 311)
XYZxyz(50.7411, 41.3379, 83.8871)
Luminance0.4134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA99EB #BAEB99
analogous
#A199EB #CA99EB #EB99E3
triadic
#CA99EB #EBCA99 #99EBCA
tetradic
#CA99EB #EBA199 #BAEB99 #99E3EB
square
#CA99EB #EBA199 #BAEB99 #99E3EB
split-complementary
#CA99EB #E3EB99 #99EBA1
monochromatic
#9533D7 #AF66E1 #CA99EB #E5CCF5 #F2E5FA

Accessibility & contrast

On white

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

On black

9.27
#CA99EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA99EB
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA99EB#FFFFFF#000000##000000
##CA99EB1.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAEE
Deuteranopia (green-blind)
#95ADE9
Tritanopia (blue-blind)
#C7A4B7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ca99eb;
/* rgb */ color: rgb(202, 153, 235);
/* oklch */ color: oklch(75.8% 0.125 311.0);
Tailwind
colors: {
  custom: {
    50: '#dbb7f1',
    500: '#ca99eb',
    950: '#000000',
  },
}
SCSS
$custom: #ca99eb;
$custom-light: #dbb7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca99eb",
  "rgb": {
    "r": 202,
    "g": 153,
    "b": 235
  },
  "hsl": {
    "h": 275.854,
    "s": 67.213,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75813,
    "c": 0.12534,
    "h": 311
  },
  "luminance": 0.41337
}

Semantic roles & 50–950 ramp

primary
#CA99EB
secondary
#E3F1DA
accent
#CF1661
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA99EB

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

Preview Lab → · Contrast checker → · Palette generator →

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