#CA99F8#CA99F8

#CA99F8 is a light, vivid violet. Relative luminance 0.421; OKLCH L 76.4% C 0.141 H 307.1°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#CA99F8
RGBrgb(202, 153, 248)
HSLhsl(271, 87%, 79%)
HSVhsv(271, 38%, 97%)
CMYKcmyk(18.5%, 38.3%, 0%, 2.7%)
CIE-LABlab(70.95, 35.94, -40.62)
CIE-LCHlch(70.95, 54.24, 311.51°)
OKLaboklab(76.4% 0.085 -0.1125)
OKLCHoklch(76.4% 0.141 307.1)
XYZxyz(52.6883, 42.1168, 94.1424)
Luminance0.4212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA99F8 #C7F899
analogous
#9A99F8 #CA99F8 #F899F7
triadic
#CA99F8 #F8CA99 #99F8CA
tetradic
#CA99F8 #F89A99 #C7F899 #99F7F8
square
#CA99F8 #F89A99 #C7F899 #99F7F8
split-complementary
#CA99F8 #F7F899 #99F89A
monochromatic
#8E26F0 #AC60F4 #CA99F8 #E8D2FC #F0E2FD

Accessibility & contrast

On white

2.23
#CA99F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#CA99F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA99F8
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA99F8#FFFFFF#000000##000000
##CA99F81.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ACFC
Deuteranopia (green-blind)
#90AEF5
Tritanopia (blue-blind)
#C4A7BD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ca99f8;
/* rgb */ color: rgb(202, 153, 248);
/* oklch */ color: oklch(76.4% 0.141 307.1);
Tailwind
colors: {
  custom: {
    50: '#dbb7fb',
    500: '#ca99f8',
    950: '#000000',
  },
}
SCSS
$custom: #ca99f8;
$custom-light: #dbb7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca99f8",
  "rgb": {
    "r": 202,
    "g": 153,
    "b": 248
  },
  "hsl": {
    "h": 270.947,
    "s": 87.156,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76399,
    "c": 0.14106,
    "h": 307.1
  },
  "luminance": 0.42116
}

Semantic roles & 50–950 ramp

primary
#CA99F8
secondary
#E5F5D6
accent
#E4026F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CA99F8

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

Preview Lab → · Contrast checker → · Palette generator →

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