#CA99E7#CA99E7

#CA99E7 is a light, vivid violet. Relative luminance 0.411; OKLCH L 75.6% C 0.121 H 312.4°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#CA99E7
RGBrgb(202, 153, 231)
HSLhsl(278, 62%, 75%)
HSVhsv(278, 34%, 91%)
CMYKcmyk(12.6%, 33.8%, 0%, 9.4%)
CIE-LABlab(70.25, 32.31, -32.42)
CIE-LCHlch(70.25, 45.77, 314.90°)
OKLaboklab(75.64% 0.0813 -0.0891)
OKLCHoklch(75.64% 0.121 312.4)
XYZxyz(50.1697, 41.1093, 80.8778)
Luminance0.4111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA99E7 #B6E799
analogous
#A399E7 #CA99E7 #E799DD
triadic
#CA99E7 #E7CA99 #99E7CA
tetradic
#CA99E7 #E7A399 #B6E799 #99DDE7
square
#CA99E7 #E7A399 #B6E799 #99DDE7
split-complementary
#CA99E7 #DDE799 #99E7A3
monochromatic
#9736D0 #B067DB #CA99E7 #E4CBF3 #F2E6F9

Accessibility & contrast

On white

2.28
#CA99E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#CA99E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA99E7
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA99E7#FFFFFF#000000##000000
##CA99E71.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA9EA
Deuteranopia (green-blind)
#97ADE5
Tritanopia (blue-blind)
#C7A3B6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ca99e7;
/* rgb */ color: rgb(202, 153, 231);
/* oklch */ color: oklch(75.6% 0.121 312.4);
Tailwind
colors: {
  custom: {
    50: '#dbb7ef',
    500: '#ca99e7',
    950: '#000000',
  },
}
SCSS
$custom: #ca99e7;
$custom-light: #dbb7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca99e7",
  "rgb": {
    "r": 202,
    "g": 153,
    "b": 231
  },
  "hsl": {
    "h": 277.692,
    "s": 61.905,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75639,
    "c": 0.12057,
    "h": 312.4
  },
  "luminance": 0.41109
}

Semantic roles & 50–950 ramp

primary
#CA99E7
secondary
#E3F1DA
accent
#CA1C5C
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA99E7

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

Preview Lab → · Contrast checker → · Palette generator →

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