#CD99F5#CD99F5

#CD99F5 is a light, vivid violet. Relative luminance 0.424; OKLCH L 76.5% C 0.138 H 309.4°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#CD99F5
RGBrgb(205, 153, 245)
HSLhsl(274, 82%, 78%)
HSVhsv(274, 38%, 96%)
CMYKcmyk(16.3%, 37.6%, 0%, 3.9%)
CIE-LABlab(71.11, 36.17, -38.71)
CIE-LCHlch(71.11, 52.98, 313.06°)
OKLaboklab(76.55% 0.0879 -0.107)
OKLCHoklch(76.55% 0.138 309.4)
XYZxyz(53.0465, 42.3548, 91.7493)
Luminance0.4235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD99F5 #C1F599
analogous
#9F99F5 #CD99F5 #F599EF
triadic
#CD99F5 #F5CD99 #99F5CD
tetradic
#CD99F5 #F59F99 #C1F599 #99EFF5
square
#CD99F5 #F59F99 #C1F599 #99EFF5
split-complementary
#CD99F5 #EFF599 #99F59F
monochromatic
#962AEA #B261F0 #CD99F5 #E8D1FA #F1E3FC

Accessibility & contrast

On white

2.22
#CD99F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#CD99F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD99F5
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD99F5#FFFFFF#000000##000000
##CD99F51.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ACF8
Deuteranopia (green-blind)
#93AFF2
Tritanopia (blue-blind)
#C8A6BC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cd99f5;
/* rgb */ color: rgb(205, 153, 245);
/* oklch */ color: oklch(76.5% 0.138 309.4);
Tailwind
colors: {
  custom: {
    50: '#ddb7f8',
    500: '#cd99f5',
    950: '#000000',
  },
}
SCSS
$custom: #cd99f5;
$custom-light: #ddb7f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd99f5",
  "rgb": {
    "r": 205,
    "g": 153,
    "b": 245
  },
  "hsl": {
    "h": 273.913,
    "s": 82.143,
    "l": 78.039
  },
  "oklch": {
    "l": 0.76548,
    "c": 0.13846,
    "h": 309.4
  },
  "luminance": 0.42354
}

Semantic roles & 50–950 ramp

primary
#CD99F5
secondary
#E4F4D7
accent
#DF0765
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD99F5

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

Preview Lab → · Contrast checker → · Palette generator →

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