#C99EFF#C99EFF

#C99EFF is a light, vivid violet. Relative luminance 0.441; OKLCH L 77.5% C 0.141 H 303.7°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#C99EFF
RGBrgb(201, 158, 255)
HSLhsl(267, 100%, 81%)
HSVhsv(267, 38%, 100%)
CMYKcmyk(21.2%, 38%, 0%, 0%)
CIE-LABlab(72.29, 34.48, -42.33)
CIE-LCHlch(72.29, 54.60, 309.16°)
OKLaboklab(77.49% 0.0783 -0.1175)
OKLCHoklch(77.49% 0.141 303.7)
XYZxyz(54.3605, 44.0914, 100.2350)
Luminance0.4409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C99EFF #D4FF9E
analogous
#9EA3FF #C99EFF #F99EFF
triadic
#C99EFF #FFC99E #9EFFC9
tetradic
#C99EFF #FF9EA3 #D4FF9E #9EFFF9
square
#C99EFF #FF9EA3 #D4FF9E #9EFFF9
split-complementary
#C99EFF #FFF99E #A3FF9E
monochromatic
#8524FF #A761FF #C99EFF #EBDBFF #EEE0FF

Accessibility & contrast

On white

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

On black

9.82
#C99EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C99EFF
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C99EFF#FFFFFF#000000##000000
##C99EFF1.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87B0FF
Deuteranopia (green-blind)
#90B1FC
Tritanopia (blue-blind)
#C0ADC3
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c99eff;
/* rgb */ color: rgb(201, 158, 255);
/* oklch */ color: oklch(77.5% 0.141 303.7);
Tailwind
colors: {
  custom: {
    50: '#dbbbff',
    500: '#c99eff',
    950: '#000000',
  },
}
SCSS
$custom: #c99eff;
$custom-light: #dbbbff;
$custom-dark: #000000;
JSON
{
  "hex": "#c99eff",
  "rgb": {
    "r": 201,
    "g": 158,
    "b": 255
  },
  "hsl": {
    "h": 266.598,
    "s": 100,
    "l": 80.98
  },
  "oklch": {
    "l": 0.77489,
    "c": 0.14125,
    "h": 303.7
  },
  "luminance": 0.44091
}

Semantic roles & 50–950 ramp

primary
#C99EFF
secondary
#E8F7D4
accent
#E60080
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #C99EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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