#C99AF8#C99AF8

#C99AF8 is a light, vivid violet. Relative luminance 0.423; OKLCH L 76.5% C 0.139 H 306.4°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#C99AF8
RGBrgb(201, 154, 248)
HSLhsl(270, 87%, 79%)
HSVhsv(270, 38%, 97%)
CMYKcmyk(19%, 37.9%, 0%, 2.7%)
CIE-LABlab(71.08, 35.11, -40.42)
CIE-LCHlch(71.08, 53.54, 310.98°)
OKLaboklab(76.48% 0.0825 -0.112)
OKLCHoklch(76.48% 0.139 306.4)
XYZxyz(52.5829, 42.3064, 94.1845)
Luminance0.4231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C99AF8 #C9F89A
analogous
#9A9AF8 #C99AF8 #F89AF8
triadic
#C99AF8 #F8C99A #9AF8C9
tetradic
#C99AF8 #F89A9A #C9F89A #9AF8F8
square
#C99AF8 #F89A9A #C9F89A #9AF8F8
split-complementary
#C99AF8 #F8F89A #9AF89A
monochromatic
#8C28F0 #AA61F4 #C99AF8 #E8D3FC #F0E2FD

Accessibility & contrast

On white

2.22
#C99AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#C99AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C99AF8
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C99AF8#FFFFFF#000000##000000
##C99AF81.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ACFC
Deuteranopia (green-blind)
#90AEF5
Tritanopia (blue-blind)
#C2A8BD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c99af8;
/* rgb */ color: rgb(201, 154, 248);
/* oklch */ color: oklch(76.5% 0.139 306.4);
Tailwind
colors: {
  custom: {
    50: '#dbb8fb',
    500: '#c99af8',
    950: '#000000',
  },
}
SCSS
$custom: #c99af8;
$custom-light: #dbb8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c99af8",
  "rgb": {
    "r": 201,
    "g": 154,
    "b": 248
  },
  "hsl": {
    "h": 270,
    "s": 87.037,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76475,
    "c": 0.1391,
    "h": 306.4
  },
  "luminance": 0.42306
}

Semantic roles & 50–950 ramp

primary
#C99AF8
secondary
#E6F5D6
accent
#E40273
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #C99AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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