#CA99EF#CA99EF

#CA99EF is a light, vivid violet. Relative luminance 0.416; OKLCH L 76.0% C 0.130 H 309.7°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#CA99EF
RGBrgb(202, 153, 239)
HSLhsl(274, 73%, 77%)
HSVhsv(274, 36%, 94%)
CMYKcmyk(15.5%, 36%, 0%, 6.3%)
CIE-LABlab(70.57, 34.00, -36.30)
CIE-LCHlch(70.57, 49.73, 313.13°)
OKLaboklab(75.99% 0.0831 -0.1001)
OKLCHoklch(75.99% 0.13 309.7)
XYZxyz(51.3255, 41.5716, 86.9649)
Luminance0.4157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA99EF #BEEF99
analogous
#9F99EF #CA99EF #EF99E9
triadic
#CA99EF #EFCA99 #99EFCA
tetradic
#CA99EF #EF9F99 #BEEF99 #99E9EF
square
#CA99EF #EF9F99 #BEEF99 #99E9EF
split-complementary
#CA99EF #E9EF99 #99EF9F
monochromatic
#932FDE #AF64E7 #CA99EF #E5CEF7 #F1E5FB

Accessibility & contrast

On white

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

On black

9.31
#CA99EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA99EF
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA99EF#FFFFFF#000000##000000
##CA99EF1.002.259.319.31
#FFFFFF2.251.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AAF2
Deuteranopia (green-blind)
#94AEED
Tritanopia (blue-blind)
#C6A5B9
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ca99ef;
/* rgb */ color: rgb(202, 153, 239);
/* oklch */ color: oklch(76.0% 0.130 309.7);
Tailwind
colors: {
  custom: {
    50: '#dbb7f4',
    500: '#ca99ef',
    950: '#000000',
  },
}
SCSS
$custom: #ca99ef;
$custom-light: #dbb7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca99ef",
  "rgb": {
    "r": 202,
    "g": 153,
    "b": 239
  },
  "hsl": {
    "h": 274.186,
    "s": 72.881,
    "l": 76.863
  },
  "oklch": {
    "l": 0.7599,
    "c": 0.13015,
    "h": 309.7
  },
  "luminance": 0.41571
}

Semantic roles & 50–950 ramp

primary
#CA99EF
secondary
#E4F3D8
accent
#D51165
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CA99EF

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

Preview Lab → · Contrast checker → · Palette generator →

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