#CD99FA#CD99FA

#CD99FA is a light, vivid violet. Relative luminance 0.427; OKLCH L 76.8% C 0.144 H 308.0°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#CD99FA
RGBrgb(205, 153, 250)
HSLhsl(272, 91%, 79%)
HSVhsv(272, 39%, 98%)
CMYKcmyk(18%, 38.8%, 0%, 2%)
CIE-LABlab(71.33, 37.25, -41.10)
CIE-LCHlch(71.33, 55.47, 312.19°)
OKLaboklab(76.78% 0.0889 -0.1139)
OKLCHoklch(76.78% 0.144 308)
XYZxyz(53.8201, 42.6643, 95.8237)
Luminance0.4266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD99FA #C6FA99
analogous
#9D99FA #CD99FA #FA99F6
triadic
#CD99FA #FACD99 #99FACD
tetradic
#CD99FA #FA9D99 #C6FA99 #99F6FA
square
#CD99FA #FA9D99 #C6FA99 #99F6FA
split-complementary
#CD99FA #F6FA99 #99FA9D
monochromatic
#9424F4 #B05FF7 #CD99FA #EAD3FD #F1E2FE

Accessibility & contrast

On white

2.20
#CD99FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#CD99FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD99FA
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD99FA#FFFFFF#000000##000000
##CD99FA1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ADFE
Deuteranopia (green-blind)
#90AFF7
Tritanopia (blue-blind)
#C7A8BE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cd99fa;
/* rgb */ color: rgb(205, 153, 250);
/* oklch */ color: oklch(76.8% 0.144 308.0);
Tailwind
colors: {
  custom: {
    50: '#ddb8fc',
    500: '#cd99fa',
    950: '#000000',
  },
}
SCSS
$custom: #cd99fa;
$custom-light: #ddb8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd99fa",
  "rgb": {
    "r": 205,
    "g": 153,
    "b": 250
  },
  "hsl": {
    "h": 272.165,
    "s": 90.654,
    "l": 79.02
  },
  "oklch": {
    "l": 0.76778,
    "c": 0.14446,
    "h": 308
  },
  "luminance": 0.42664
}

Semantic roles & 50–950 ramp

primary
#CD99FA
secondary
#E4F6D5
accent
#E6006A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD99FA

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

Preview Lab → · Contrast checker → · Palette generator →

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