#C99EFE#C99EFE

#C99EFE is a light, vivid violet. Relative luminance 0.440; OKLCH L 77.4% C 0.140 H 303.9°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#C99EFE
RGBrgb(201, 158, 254)
HSLhsl(267, 98%, 81%)
HSVhsv(267, 38%, 100%)
CMYKcmyk(20.9%, 37.8%, 0%, 0.4%)
CIE-LABlab(72.25, 34.25, -41.86)
CIE-LCHlch(72.25, 54.09, 309.29°)
OKLaboklab(77.44% 0.0781 -0.1162)
OKLCHoklch(77.44% 0.14 303.9)
XYZxyz(54.1999, 44.0271, 99.3894)
Luminance0.4403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C99EFE #D3FE9E
analogous
#9EA3FE #C99EFE #F99EFE
triadic
#C99EFE #FEC99E #9EFEC9
tetradic
#C99EFE #FE9EA3 #D3FE9E #9EFEF9
square
#C99EFE #FE9EA3 #D3FE9E #9EFEF9
split-complementary
#C99EFE #FEF99E #A3FE9E
monochromatic
#8625FD #A761FD #C99EFE #EBDBFF #EEE1FF

Accessibility & contrast

On white

2.14
#C99EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#C99EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C99EFE
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C99EFE#FFFFFF#000000##000000
##C99EFE1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88B0FF
Deuteranopia (green-blind)
#91B1FB
Tritanopia (blue-blind)
#C0ADC2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c99efe;
/* rgb */ color: rgb(201, 158, 254);
/* oklch */ color: oklch(77.4% 0.140 303.9);
Tailwind
colors: {
  custom: {
    50: '#dbbbff',
    500: '#c99efe',
    950: '#000000',
  },
}
SCSS
$custom: #c99efe;
$custom-light: #dbbbff;
$custom-dark: #000000;
JSON
{
  "hex": "#c99efe",
  "rgb": {
    "r": 201,
    "g": 158,
    "b": 254
  },
  "hsl": {
    "h": 266.875,
    "s": 97.959,
    "l": 80.784
  },
  "oklch": {
    "l": 0.77442,
    "c": 0.14,
    "h": 303.9
  },
  "luminance": 0.44027
}

Semantic roles & 50–950 ramp

primary
#C99EFE
secondary
#E7F7D4
accent
#E6007F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #C99EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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