#CD99EB#CD99EB

#CD99EB is a light, vivid violet. Relative luminance 0.418; OKLCH L 76.1% C 0.127 H 312.6°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#CD99EB
RGBrgb(205, 153, 235)
HSLhsl(278, 67%, 76%)
HSVhsv(278, 35%, 92%)
CMYKcmyk(12.8%, 34.9%, 0%, 7.8%)
CIE-LABlab(70.71, 34.05, -33.88)
CIE-LCHlch(70.71, 48.04, 315.14°)
OKLaboklab(76.1% 0.0857 -0.0932)
OKLCHoklch(76.1% 0.127 312.6)
XYZxyz(51.5610, 41.7606, 83.9256)
Luminance0.4176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD99EB #B7EB99
analogous
#A499EB #CD99EB #EB99E0
triadic
#CD99EB #EBCD99 #99EBCD
tetradic
#CD99EB #EBA499 #B7EB99 #99E0EB
square
#CD99EB #EBA499 #B7EB99 #99E0EB
split-complementary
#CD99EB #E0EB99 #99EBA4
monochromatic
#9B33D7 #B466E1 #CD99EB #E6CCF5 #F2E5FA

Accessibility & contrast

On white

2.25
#CD99EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#CD99EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD99EB
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD99EB#FFFFFF#000000##000000
##CD99EB1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BAAEE
Deuteranopia (green-blind)
#97AEE9
Tritanopia (blue-blind)
#CAA4B7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cd99eb;
/* rgb */ color: rgb(205, 153, 235);
/* oklch */ color: oklch(76.1% 0.127 312.6);
Tailwind
colors: {
  custom: {
    50: '#ddb7f1',
    500: '#cd99eb',
    950: '#000000',
  },
}
SCSS
$custom: #cd99eb;
$custom-light: #ddb7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd99eb",
  "rgb": {
    "r": 205,
    "g": 153,
    "b": 235
  },
  "hsl": {
    "h": 278.049,
    "s": 67.213,
    "l": 76.078
  },
  "oklch": {
    "l": 0.76103,
    "c": 0.12658,
    "h": 312.6
  },
  "luminance": 0.4176
}

Semantic roles & 50–950 ramp

primary
#CD99EB
secondary
#E2F1DA
accent
#CF165A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD99EB

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

Preview Lab → · Contrast checker → · Palette generator →

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