#C99AFA#C99AFA

#C99AFA is a light, vivid violet. Relative luminance 0.424; OKLCH L 76.6% C 0.142 H 305.8°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#C99AFA
RGBrgb(201, 154, 250)
HSLhsl(269, 91%, 79%)
HSVhsv(269, 38%, 98%)
CMYKcmyk(19.6%, 38.4%, 0%, 2%)
CIE-LABlab(71.17, 35.55, -41.38)
CIE-LCHlch(71.17, 54.55, 310.67°)
OKLaboklab(76.57% 0.0829 -0.1148)
OKLCHoklch(76.57% 0.142 305.8)
XYZxyz(52.8949, 42.4312, 95.8274)
Luminance0.4243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C99AFA #CBFA9A
analogous
#9A9BFA #C99AFA #F99AFA
triadic
#C99AFA #FAC99A #9AFAC9
tetradic
#C99AFA #FA9A9B #CBFA9A #9AFAF9
square
#C99AFA #FA9A9B #CBFA9A #9AFAF9
split-complementary
#C99AFA #FAF99A #9BFA9A
monochromatic
#8B25F4 #AA60F7 #C99AFA #E8D4FD #EFE2FE

Accessibility & contrast

On white

2.21
#C99AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#C99AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C99AFA
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C99AFA#FFFFFF#000000##000000
##C99AFA1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ADFE
Deuteranopia (green-blind)
#8FAFF7
Tritanopia (blue-blind)
#C2A9BE
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c99afa;
/* rgb */ color: rgb(201, 154, 250);
/* oklch */ color: oklch(76.6% 0.142 305.8);
Tailwind
colors: {
  custom: {
    50: '#dbb8fc',
    500: '#c99afa',
    950: '#000000',
  },
}
SCSS
$custom: #c99afa;
$custom-light: #dbb8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c99afa",
  "rgb": {
    "r": 201,
    "g": 154,
    "b": 250
  },
  "hsl": {
    "h": 269.375,
    "s": 90.566,
    "l": 79.216
  },
  "oklch": {
    "l": 0.76568,
    "c": 0.14156,
    "h": 305.8
  },
  "luminance": 0.42431
}

Semantic roles & 50–950 ramp

primary
#C99AFA
secondary
#E6F6D5
accent
#E60075
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #C99AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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