#C98ECC#C98ECC

#C98ECC is a light, moderate purple. Relative luminance 0.361; OKLCH L 72.5% C 0.109 H 325.0°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#C98ECC
RGBrgb(201, 142, 204)
HSLhsl(297, 38%, 68%)
HSVhsv(297, 30%, 80%)
CMYKcmyk(1.5%, 30.4%, 0%, 20%)
CIE-LABlab(66.61, 32.61, -23.09)
CIE-LCHlch(66.61, 39.96, 324.69°)
OKLaboklab(72.51% 0.0894 -0.0626)
OKLCHoklch(72.51% 0.109 325)
XYZxyz(44.6584, 36.1246, 61.7353)
Luminance0.3612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98ECC #91CC8E
analogous
#AA8ECC #C98ECC #CC8EB0
triadic
#C98ECC #CCC98E #8ECCC9
tetradic
#C98ECC #CCAA8E #91CC8E #8EB0CC
square
#C98ECC #CCAA8E #91CC8E #8EB0CC
split-complementary
#C98ECC #B0CC8E #8ECCAA
monochromatic
#96469A #B564B9 #C98ECC #DDB8DF #F1E2F2

Accessibility & contrast

On white

2.55
#C98ECC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#C98ECC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98ECC
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98ECC#FFFFFF#000000##000000
##C98ECC1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#899DCE
Deuteranopia (green-blind)
#97A5CA
Tritanopia (blue-blind)
#CC94A4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c98ecc;
/* rgb */ color: rgb(201, 142, 204);
/* oklch */ color: oklch(72.5% 0.109 325.0);
Tailwind
colors: {
  custom: {
    50: '#dab0db',
    500: '#c98ecc',
    950: '#000000',
  },
}
SCSS
$custom: #c98ecc;
$custom-light: #dab0db;
$custom-dark: #000000;
JSON
{
  "hex": "#c98ecc",
  "rgb": {
    "r": 201,
    "g": 142,
    "b": 204
  },
  "hsl": {
    "h": 297.097,
    "s": 37.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72512,
    "c": 0.10918,
    "h": 325
  },
  "luminance": 0.36123
}

Semantic roles & 50–950 ramp

primary
#C98ECC
secondary
#D2E4D1
accent
#B1353B
background
#FDFAFD
surface
#FBF5FB
border
#D4CFD4
text
#151015
muted
#837F83

Preview Lab

Preview with #C98ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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