#C993FE#C993FE

#C993FE is a light, vivid violet. Relative luminance 0.404; OKLCH L 75.6% C 0.158 H 306.2°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#C993FE
RGBrgb(201, 147, 254)
HSLhsl(270, 98%, 79%)
HSVhsv(270, 42%, 100%)
CMYKcmyk(20.9%, 42.1%, 0%, 0.4%)
CIE-LABlab(69.78, 40.25, -45.72)
CIE-LCHlch(69.78, 60.91, 311.36°)
OKLaboklab(75.58% 0.0933 -0.1273)
OKLCHoklch(75.58% 0.158 306.2)
XYZxyz(52.4069, 40.4411, 98.7918)
Luminance0.4044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C993FE #C8FE93
analogous
#9393FE #C993FE #FE93FE
triadic
#C993FE #FEC993 #93FEC9
tetradic
#C993FE #FE9393 #C8FE93 #93FEFE
square
#C993FE #FE9393 #C8FE93 #93FEFE
split-complementary
#C993FE #FEFE93 #93FE93
monochromatic
#8C1AFD #AB56FD #C993FE #E7D0FF #F0E1FF

Accessibility & contrast

On white

2.31
#C993FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#C993FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C993FE
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C993FE#FFFFFF#000000##000000
##C993FE1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#86ABFB
Tritanopia (blue-blind)
#C1A4BC
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c993fe;
/* rgb */ color: rgb(201, 147, 254);
/* oklch */ color: oklch(75.6% 0.158 306.2);
Tailwind
colors: {
  custom: {
    50: '#dbb3ff',
    500: '#c993fe',
    950: '#000000',
  },
}
SCSS
$custom: #c993fe;
$custom-light: #dbb3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c993fe",
  "rgb": {
    "r": 201,
    "g": 147,
    "b": 254
  },
  "hsl": {
    "h": 270.28,
    "s": 98.165,
    "l": 78.627
  },
  "oklch": {
    "l": 0.75581,
    "c": 0.15779,
    "h": 306.2
  },
  "luminance": 0.40441
}

Semantic roles & 50–950 ramp

primary
#C993FE
secondary
#E5F7D4
accent
#E60072
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #C993FE

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

Preview Lab → · Contrast checker → · Palette generator →

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