#C993FB#C993FB

#C993FB is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.4% C 0.154 H 307.0°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#C993FB
RGBrgb(201, 147, 251)
HSLhsl(271, 93%, 78%)
HSVhsv(271, 41%, 98%)
CMYKcmyk(19.9%, 41.4%, 0%, 1.6%)
CIE-LABlab(69.65, 39.59, -44.30)
CIE-LCHlch(69.65, 59.41, 311.78°)
OKLaboklab(75.44% 0.0928 -0.1232)
OKLCHoklch(75.44% 0.154 307)
XYZxyz(51.9303, 40.2504, 96.2815)
Luminance0.4025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C993FB #C5FB93
analogous
#9593FB #C993FB #FB93F9
triadic
#C993FB #FBC993 #93FBC9
tetradic
#C993FB #FB9593 #C5FB93 #93F9FB
square
#C993FB #FB9593 #C5FB93 #93F9FB
split-complementary
#C993FB #F9FB93 #93FB95
monochromatic
#8E1DF7 #AB58F9 #C993FB #E7CEFD #F0E1FE

Accessibility & contrast

On white

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

On black

9.05
#C993FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C993FB
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C993FB#FFFFFF#000000##000000
##C993FB1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA8FF
Deuteranopia (green-blind)
#88ABF8
Tritanopia (blue-blind)
#C2A3BB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c993fb;
/* rgb */ color: rgb(201, 147, 251);
/* oklch */ color: oklch(75.4% 0.154 307.0);
Tailwind
colors: {
  custom: {
    50: '#dbb3fd',
    500: '#c993fb',
    950: '#000000',
  },
}
SCSS
$custom: #c993fb;
$custom-light: #dbb3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c993fb",
  "rgb": {
    "r": 201,
    "g": 147,
    "b": 251
  },
  "hsl": {
    "h": 271.154,
    "s": 92.857,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75435,
    "c": 0.15418,
    "h": 307
  },
  "luminance": 0.4025
}

Semantic roles & 50–950 ramp

primary
#C993FB
secondary
#E5F6D5
accent
#E6006E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #C993FB

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

Preview Lab → · Contrast checker → · Palette generator →

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