#C99EFB#C99EFB

#C99EFB is a light, vivid violet. Relative luminance 0.438; OKLCH L 77.3% C 0.136 H 304.7°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#C99EFB
RGBrgb(201, 158, 251)
HSLhsl(268, 92%, 80%)
HSVhsv(268, 37%, 98%)
CMYKcmyk(19.9%, 37.1%, 0%, 1.6%)
CIE-LABlab(72.12, 33.58, -40.43)
CIE-LCHlch(72.12, 52.56, 309.71°)
OKLaboklab(77.3% 0.0775 -0.1121)
OKLCHoklch(77.3% 0.136 304.7)
XYZxyz(53.7233, 43.8365, 96.8791)
Luminance0.4384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C99EFB #D0FB9E
analogous
#9EA1FB #C99EFB #F79EFB
triadic
#C99EFB #FBC99E #9EFBC9
tetradic
#C99EFB #FB9EA1 #D0FB9E #9EFBF7
square
#C99EFB #FB9EA1 #D0FB9E #9EFBF7
split-complementary
#C99EFB #FBF79E #A1FB9E
monochromatic
#8828F6 #A863F9 #C99EFB #EAD9FD #EFE2FE

Accessibility & contrast

On white

2.15
#C99EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#C99EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C99EFB
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C99EFB#FFFFFF#000000##000000
##C99EFB1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B0FF
Deuteranopia (green-blind)
#92B1F8
Tritanopia (blue-blind)
#C1ACC1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c99efb;
/* rgb */ color: rgb(201, 158, 251);
/* oklch */ color: oklch(77.3% 0.136 304.7);
Tailwind
colors: {
  custom: {
    50: '#dbbbfd',
    500: '#c99efb',
    950: '#000000',
  },
}
SCSS
$custom: #c99efb;
$custom-light: #dbbbfd;
$custom-dark: #000000;
JSON
{
  "hex": "#c99efb",
  "rgb": {
    "r": 201,
    "g": 158,
    "b": 251
  },
  "hsl": {
    "h": 267.742,
    "s": 92.079,
    "l": 80.196
  },
  "oklch": {
    "l": 0.77304,
    "c": 0.13626,
    "h": 304.7
  },
  "luminance": 0.43836
}

Semantic roles & 50–950 ramp

primary
#C99EFB
secondary
#E7F6D5
accent
#E6007B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C99EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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