#C98DCD#C98DCD

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

Color values

HEX#C98DCD
RGBrgb(201, 141, 205)
HSLhsl(296, 39%, 68%)
HSVhsv(296, 31%, 80%)
CMYKcmyk(2%, 31.2%, 0%, 19.6%)
CIE-LABlab(66.43, 33.35, -23.94)
CIE-LCHlch(66.43, 41.05, 324.32°)
OKLaboklab(72.38% 0.0912 -0.065)
OKLCHoklch(72.38% 0.112 324.5)
XYZxyz(44.6306, 35.8765, 62.3196)
Luminance0.3588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98DCD #91CD8D
analogous
#A98DCD #C98DCD #CD8DB1
triadic
#C98DCD #CDC98D #8DCDC9
tetradic
#C98DCD #CDA98D #91CD8D #8DB1CD
square
#C98DCD #CDA98D #91CD8D #8DB1CD
split-complementary
#C98DCD #B1CD8D #8DCDA9
monochromatic
#96449B #B562BA #C98DCD #DDB8E0 #F1E2F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C98DCD#FFFFFF#000000##000000
##C98DCD1.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)
#889DCF
Deuteranopia (green-blind)
#96A4CB
Tritanopia (blue-blind)
#CC93A4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c98dcd;
/* rgb */ color: rgb(201, 141, 205);
/* oklch */ color: oklch(72.4% 0.112 324.5);
Tailwind
colors: {
  custom: {
    50: '#daafdc',
    500: '#c98dcd',
    950: '#000000',
  },
}
SCSS
$custom: #c98dcd;
$custom-light: #daafdc;
$custom-dark: #000000;
JSON
{
  "hex": "#c98dcd",
  "rgb": {
    "r": 201,
    "g": 141,
    "b": 205
  },
  "hsl": {
    "h": 296.25,
    "s": 39.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.7238,
    "c": 0.11202,
    "h": 324.5
  },
  "luminance": 0.35875
}

Semantic roles & 50–950 ramp

primary
#C98DCD
secondary
#D2E5D1
accent
#B2333B
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #C98DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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