#CA99EC#CA99EC

#CA99EC is a light, vivid violet. Relative luminance 0.414; OKLCH L 75.9% C 0.127 H 310.7°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#CA99EC
RGBrgb(202, 153, 236)
HSLhsl(275, 69%, 76%)
HSVhsv(275, 35%, 93%)
CMYKcmyk(14.4%, 35.2%, 0%, 7.5%)
CIE-LABlab(70.45, 33.36, -34.85)
CIE-LCHlch(70.45, 48.24, 313.75°)
OKLaboklab(75.86% 0.0824 -0.096)
OKLCHoklch(75.86% 0.127 310.7)
XYZxyz(50.8860, 41.3958, 84.6501)
Luminance0.4139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA99EC #BBEC99
analogous
#A199EC #CA99EC #EC99E5
triadic
#CA99EC #ECCA99 #99ECCA
tetradic
#CA99EC #ECA199 #BBEC99 #99E5EC
square
#CA99EC #ECA199 #BBEC99 #99E5EC
split-complementary
#CA99EC #E5EC99 #99ECA1
monochromatic
#9432D9 #AF65E2 #CA99EC #E5CDF6 #F2E5FA

Accessibility & contrast

On white

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

On black

9.28
#CA99EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA99EC
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA99EC#FFFFFF#000000##000000
##CA99EC1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAEF
Deuteranopia (green-blind)
#95ADEA
Tritanopia (blue-blind)
#C6A5B8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ca99ec;
/* rgb */ color: rgb(202, 153, 236);
/* oklch */ color: oklch(75.9% 0.127 310.7);
Tailwind
colors: {
  custom: {
    50: '#dbb7f2',
    500: '#ca99ec',
    950: '#000000',
  },
}
SCSS
$custom: #ca99ec;
$custom-light: #dbb7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca99ec",
  "rgb": {
    "r": 202,
    "g": 153,
    "b": 236
  },
  "hsl": {
    "h": 275.422,
    "s": 68.595,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75857,
    "c": 0.12654,
    "h": 310.7
  },
  "luminance": 0.41395
}

Semantic roles & 50–950 ramp

primary
#CA99EC
secondary
#E3F2D9
accent
#D11562
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA99EC

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

Preview Lab → · Contrast checker → · Palette generator →

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