#CD99FB#CD99FB

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

Color values

HEX#CD99FB
RGBrgb(205, 153, 251)
HSLhsl(272, 92%, 79%)
HSVhsv(272, 39%, 98%)
CMYKcmyk(18.3%, 39%, 0%, 1.6%)
CIE-LABlab(71.37, 37.47, -41.57)
CIE-LCHlch(71.37, 55.97, 312.02°)
OKLaboklab(76.82% 0.0891 -0.1152)
OKLCHoklch(76.82% 0.146 307.7)
XYZxyz(53.9773, 42.7272, 96.6517)
Luminance0.4273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD99FB #C7FB99
analogous
#9C99FB #CD99FB #FB99F8
triadic
#CD99FB #FBCD99 #99FBCD
tetradic
#CD99FB #FB9C99 #C7FB99 #99F8FB
square
#CD99FB #FB9C99 #C7FB99 #99F8FB
split-complementary
#CD99FB #F8FB99 #99FB9C
monochromatic
#9323F6 #B05EF9 #CD99FB #EAD4FD #F1E2FE

Accessibility & contrast

On white

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

On black

9.55
#CD99FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD99FB
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD99FB#FFFFFF#000000##000000
##CD99FB1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd99fb;
/* rgb */ color: rgb(205, 153, 251);
/* oklch */ color: oklch(76.8% 0.146 307.7);
Tailwind
colors: {
  custom: {
    50: '#deb8fd',
    500: '#cd99fb',
    950: '#000000',
  },
}
SCSS
$custom: #cd99fb;
$custom-light: #deb8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd99fb",
  "rgb": {
    "r": 205,
    "g": 153,
    "b": 251
  },
  "hsl": {
    "h": 271.837,
    "s": 92.453,
    "l": 79.216
  },
  "oklch": {
    "l": 0.76824,
    "c": 0.14566,
    "h": 307.7
  },
  "luminance": 0.42727
}

Semantic roles & 50–950 ramp

primary
#CD99FB
secondary
#E4F6D5
accent
#E6006C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD99FB

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

Preview Lab → · Contrast checker → · Palette generator →

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