#C992EC#C992EC

#C992EC is a light, vivid violet. Relative luminance 0.390; OKLCH L 74.6% C 0.138 H 311.4°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#C992EC
RGBrgb(201, 146, 236)
HSLhsl(277, 70%, 75%)
HSVhsv(277, 38%, 93%)
CMYKcmyk(14.8%, 38.1%, 0%, 7.5%)
CIE-LABlab(68.77, 36.88, -37.46)
CIE-LCHlch(68.77, 52.57, 314.55°)
OKLaboklab(74.56% 0.0913 -0.1035)
OKLCHoklch(74.56% 0.138 311.4)
XYZxyz(49.5040, 39.0322, 84.2667)
Luminance0.3903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C992EC #B5EC92
analogous
#9C92EC #C992EC #EC92E2
triadic
#C992EC #ECC992 #92ECC9
tetradic
#C992EC #EC9C92 #B5EC92 #92E2EC
square
#C992EC #EC9C92 #B5EC92 #92E2EC
split-complementary
#C992EC #E2EC92 #92EC9C
monochromatic
#952ADA #AF5EE3 #C992EC #E3C6F5 #F2E5FA

Accessibility & contrast

On white

2.38
#C992EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#C992EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C992EC
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C992EC#FFFFFF#000000##000000
##C992EC1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A5EF
Deuteranopia (green-blind)
#8EA9E9
Tritanopia (blue-blind)
#C59FB4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c992ec;
/* rgb */ color: rgb(201, 146, 236);
/* oklch */ color: oklch(74.6% 0.138 311.4);
Tailwind
colors: {
  custom: {
    50: '#dab3f2',
    500: '#c992ec',
    950: '#000000',
  },
}
SCSS
$custom: #c992ec;
$custom-light: #dab3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c992ec",
  "rgb": {
    "r": 201,
    "g": 146,
    "b": 236
  },
  "hsl": {
    "h": 276.667,
    "s": 70.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74563,
    "c": 0.13799,
    "h": 311.4
  },
  "luminance": 0.39031
}

Semantic roles & 50–950 ramp

primary
#C992EC
secondary
#E3F2D9
accent
#D2135E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #C992EC

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

Preview Lab → · Contrast checker → · Palette generator →

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