#C98CD2#C98CD2

#C98CD2 is a light, moderate purple. Relative luminance 0.358; OKLCH L 72.4% C 0.119 H 322.2°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#C98CD2
RGBrgb(201, 140, 210)
HSLhsl(292, 44%, 69%)
HSVhsv(292, 33%, 82%)
CMYKcmyk(4.3%, 33.3%, 0%, 17.6%)
CIE-LABlab(66.39, 34.86, -26.78)
CIE-LCHlch(66.39, 43.96, 322.46°)
OKLaboklab(72.41% 0.094 -0.073)
OKLCHoklch(72.41% 0.119 322.2)
XYZxyz(45.0970, 35.8282, 65.5002)
Luminance0.3583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98CD2 #95D28C
analogous
#A68CD2 #C98CD2 #D28CB8
triadic
#C98CD2 #D2C98C #8CD2C9
tetradic
#C98CD2 #D2A68C #95D28C #8CB8D2
square
#C98CD2 #D2A68C #95D28C #8CB8D2
split-complementary
#C98CD2 #B8D28C #8CD2A6
monochromatic
#9740A4 #B460C1 #C98CD2 #DEB8E3 #F2E4F4

Accessibility & contrast

On white

2.57
#C98CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#C98CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98CD2
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98CD2#FFFFFF#000000##000000
##C98CD21.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#859DD5
Deuteranopia (green-blind)
#93A4D0
Tritanopia (blue-blind)
#CB93A6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c98cd2;
/* rgb */ color: rgb(201, 140, 210);
/* oklch */ color: oklch(72.4% 0.119 322.2);
Tailwind
colors: {
  custom: {
    50: '#daaee0',
    500: '#c98cd2',
    950: '#000000',
  },
}
SCSS
$custom: #c98cd2;
$custom-light: #daaee0;
$custom-dark: #000000;
JSON
{
  "hex": "#c98cd2",
  "rgb": {
    "r": 201,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 292.286,
    "s": 43.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72414,
    "c": 0.11905,
    "h": 322.2
  },
  "luminance": 0.35827
}

Semantic roles & 50–950 ramp

primary
#C98CD2
secondary
#D5E7D2
accent
#B72F40
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #C98CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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