#C99FED#C99FED

#C99FED is a light, moderate violet. Relative luminance 0.433; OKLCH L 76.9% C 0.117 H 308.5°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#C99FED
RGBrgb(201, 159, 237)
HSLhsl(272, 68%, 78%)
HSVhsv(272, 33%, 93%)
CMYKcmyk(15.2%, 32.9%, 0%, 7.1%)
CIE-LABlab(71.78, 29.98, -33.35)
CIE-LCHlch(71.78, 44.84, 311.96°)
OKLaboklab(76.86% 0.0729 -0.0918)
OKLCHoklch(76.86% 0.117 308.5)
XYZxyz(51.7688, 43.3287, 85.7404)
Luminance0.4333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C99FED #C3ED9F
analogous
#A29FED #C99FED #ED9FEA
triadic
#C99FED #EDC99F #9FEDC9
tetradic
#C99FED #EDA29F #C3ED9F #9FEAED
square
#C99FED #EDA29F #C3ED9F #9FEAED
split-complementary
#C99FED #EAED9F #9FEDA2
monochromatic
#8F38DA #AC6BE3 #C99FED #E6D3F7 #F1E5FA

Accessibility & contrast

On white

2.17
#C99FED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#C99FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C99FED
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C99FED#FFFFFF#000000##000000
##C99FED1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AEF0
Deuteranopia (green-blind)
#99B1EB
Tritanopia (blue-blind)
#C5AABB
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c99fed;
/* rgb */ color: rgb(201, 159, 237);
/* oklch */ color: oklch(76.9% 0.117 308.5);
Tailwind
colors: {
  custom: {
    50: '#dabbf3',
    500: '#c99fed',
    950: '#000000',
  },
}
SCSS
$custom: #c99fed;
$custom-light: #dabbf3;
$custom-dark: #000000;
JSON
{
  "hex": "#c99fed",
  "rgb": {
    "r": 201,
    "g": 159,
    "b": 237
  },
  "hsl": {
    "h": 272.308,
    "s": 68.421,
    "l": 77.647
  },
  "oklch": {
    "l": 0.76856,
    "c": 0.11722,
    "h": 308.5
  },
  "luminance": 0.43328
}

Semantic roles & 50–950 ramp

primary
#C99FED
secondary
#E5F2D9
accent
#D0156C
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #C99FED

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

Preview Lab → · Contrast checker → · Palette generator →

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