#C993FC#C993FC

#C993FC is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.5% C 0.155 H 306.7°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#C993FC
RGBrgb(201, 147, 252)
HSLhsl(271, 95%, 78%)
HSVhsv(271, 42%, 99%)
CMYKcmyk(20.2%, 41.7%, 0%, 1.2%)
CIE-LABlab(69.69, 39.81, -44.77)
CIE-LCHlch(69.69, 59.91, 311.64°)
OKLaboklab(75.48% 0.0929 -0.1245)
OKLCHoklch(75.48% 0.155 306.7)
XYZxyz(52.0883, 40.3136, 97.1138)
Luminance0.4031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C993FC #C6FC93
analogous
#9493FC #C993FC #FC93FB
triadic
#C993FC #FCC993 #93FCC9
tetradic
#C993FC #FC9493 #C6FC93 #93FBFC
square
#C993FC #FC9493 #C6FC93 #93FBFC
split-complementary
#C993FC #FBFC93 #93FC94
monochromatic
#8D1CF9 #AB57FA #C993FC #E7CFFE #F0E1FE

Accessibility & contrast

On white

2.32
#C993FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#C993FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C993FC
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C993FC#FFFFFF#000000##000000
##C993FC1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA8FF
Deuteranopia (green-blind)
#87ABF9
Tritanopia (blue-blind)
#C2A4BC
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c993fc;
/* rgb */ color: rgb(201, 147, 252);
/* oklch */ color: oklch(75.5% 0.155 306.7);
Tailwind
colors: {
  custom: {
    50: '#dbb3fe',
    500: '#c993fc',
    950: '#000000',
  },
}
SCSS
$custom: #c993fc;
$custom-light: #dbb3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c993fc",
  "rgb": {
    "r": 201,
    "g": 147,
    "b": 252
  },
  "hsl": {
    "h": 270.857,
    "s": 94.595,
    "l": 78.235
  },
  "oklch": {
    "l": 0.75484,
    "c": 0.15539,
    "h": 306.7
  },
  "luminance": 0.40313
}

Semantic roles & 50–950 ramp

primary
#C993FC
secondary
#E5F6D5
accent
#E6006F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #C993FC

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

Preview Lab → · Contrast checker → · Palette generator →

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