#C99FEA#C99FEA

#C99FEA is a light, moderate violet. Relative luminance 0.432; OKLCH L 76.7% C 0.114 H 309.5°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#C99FEA
RGBrgb(201, 159, 234)
HSLhsl(274, 64%, 77%)
HSVhsv(274, 32%, 92%)
CMYKcmyk(14.1%, 32.1%, 0%, 8.2%)
CIE-LABlab(71.66, 29.34, -31.89)
CIE-LCHlch(71.66, 43.34, 312.61°)
OKLaboklab(76.73% 0.0722 -0.0876)
OKLCHoklch(76.73% 0.114 309.5)
XYZxyz(51.3341, 43.1548, 83.4514)
Luminance0.4315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C99FEA #C0EA9F
analogous
#A49FEA #C99FEA #EA9FE6
triadic
#C99FEA #EAC99F #9FEAC9
tetradic
#C99FEA #EAA49F #C0EA9F #9FE6EA
square
#C99FEA #EAA49F #C0EA9F #9FE6EA
split-complementary
#C99FEA #E6EA9F #9FEAA4
monochromatic
#913BD4 #AD6DDF #C99FEA #E5D1F5 #F1E6FA

Accessibility & contrast

On white

2.18
#C99FEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#C99FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C99FEA
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C99FEA#FFFFFF#000000##000000
##C99FEA1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AEED
Deuteranopia (green-blind)
#9AB0E8
Tritanopia (blue-blind)
#C5A9BA
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c99fea;
/* rgb */ color: rgb(201, 159, 234);
/* oklch */ color: oklch(76.7% 0.114 309.5);
Tailwind
colors: {
  custom: {
    50: '#dabbf1',
    500: '#c99fea',
    950: '#000000',
  },
}
SCSS
$custom: #c99fea;
$custom-light: #dabbf1;
$custom-dark: #000000;
JSON
{
  "hex": "#c99fea",
  "rgb": {
    "r": 201,
    "g": 159,
    "b": 234
  },
  "hsl": {
    "h": 273.6,
    "s": 64.103,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76727,
    "c": 0.11353,
    "h": 309.5
  },
  "luminance": 0.43154
}

Semantic roles & 50–950 ramp

primary
#C99FEA
secondary
#E4F1DA
accent
#CC1A68
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #C99FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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