#CA99ED#CA99ED

#CA99ED is a light, vivid violet. Relative luminance 0.415; OKLCH L 75.9% C 0.128 H 310.3°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#CA99ED
RGBrgb(202, 153, 237)
HSLhsl(275, 70%, 76%)
HSVhsv(275, 35%, 93%)
CMYKcmyk(14.8%, 35.4%, 0%, 7.1%)
CIE-LABlab(70.49, 33.57, -35.33)
CIE-LCHlch(70.49, 48.74, 313.54°)
OKLaboklab(75.9% 0.0827 -0.0974)
OKLCHoklch(75.9% 0.128 310.3)
XYZxyz(51.0317, 41.4541, 85.4174)
Luminance0.4145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA99ED #BCED99
analogous
#A099ED #CA99ED #ED99E6
triadic
#CA99ED #EDCA99 #99EDCA
tetradic
#CA99ED #EDA099 #BCED99 #99E6ED
square
#CA99ED #EDA099 #BCED99 #99E6ED
split-complementary
#CA99ED #E6ED99 #99EDA0
monochromatic
#9431DB #AF65E4 #CA99ED #E5CDF6 #F1E5FA

Accessibility & contrast

On white

2.26
#CA99ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#CA99ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA99ED
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA99ED#FFFFFF#000000##000000
##CA99ED1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AAF0
Deuteranopia (green-blind)
#94ADEB
Tritanopia (blue-blind)
#C6A5B8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ca99ed;
/* rgb */ color: rgb(202, 153, 237);
/* oklch */ color: oklch(75.9% 0.128 310.3);
Tailwind
colors: {
  custom: {
    50: '#dbb7f3',
    500: '#ca99ed',
    950: '#000000',
  },
}
SCSS
$custom: #ca99ed;
$custom-light: #dbb7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca99ed",
  "rgb": {
    "r": 202,
    "g": 153,
    "b": 237
  },
  "hsl": {
    "h": 275,
    "s": 70,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75901,
    "c": 0.12774,
    "h": 310.3
  },
  "luminance": 0.41453
}

Semantic roles & 50–950 ramp

primary
#CA99ED
secondary
#E3F2D9
accent
#D21463
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA99ED

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

Preview Lab → · Contrast checker → · Palette generator →

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