#C99FF2#C99FF2

#C99FF2 is a light, vivid violet. Relative luminance 0.436; OKLCH L 77.1% C 0.123 H 306.9°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#C99FF2
RGBrgb(201, 159, 242)
HSLhsl(270, 76%, 79%)
HSVhsv(270, 34%, 95%)
CMYKcmyk(16.9%, 34.3%, 0%, 5.1%)
CIE-LABlab(71.98, 31.06, -35.76)
CIE-LCHlch(71.98, 47.37, 310.97°)
OKLaboklab(77.07% 0.0741 -0.0987)
OKLCHoklch(77.07% 0.123 306.9)
XYZxyz(52.5095, 43.6250, 89.6414)
Luminance0.4363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C99FF2 #C8F29F
analogous
#9F9FF2 #C99FF2 #F29FF2
triadic
#C99FF2 #F2C99F #9FF2C9
tetradic
#C99FF2 #F29F9F #C8F29F #9FF2F2
square
#C99FF2 #F29F9F #C8F29F #9FF2F2
split-complementary
#C99FF2 #F2F29F #9FF29F
monochromatic
#8C33E3 #AB69EB #C99FF2 #E7D5F9 #F0E4FB

Accessibility & contrast

On white

2.16
#C99FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#C99FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C99FF2
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C99FF2#FFFFFF#000000##000000
##C99FF21.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EAFF5
Deuteranopia (green-blind)
#97B1F0
Tritanopia (blue-blind)
#C3ABBE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c99ff2;
/* rgb */ color: rgb(201, 159, 242);
/* oklch */ color: oklch(77.1% 0.123 306.9);
Tailwind
colors: {
  custom: {
    50: '#dabbf6',
    500: '#c99ff2',
    950: '#000000',
  },
}
SCSS
$custom: #c99ff2;
$custom-light: #dabbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#c99ff2",
  "rgb": {
    "r": 201,
    "g": 159,
    "b": 242
  },
  "hsl": {
    "h": 270.361,
    "s": 76.147,
    "l": 78.627
  },
  "oklch": {
    "l": 0.77073,
    "c": 0.12341,
    "h": 306.9
  },
  "luminance": 0.43625
}

Semantic roles & 50–950 ramp

primary
#C99FF2
secondary
#E5F3D8
accent
#D80D72
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #C99FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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