#C98BD2#C98BD2

#C98BD2 is a light, vivid purple. Relative luminance 0.355; OKLCH L 72.2% C 0.121 H 322.2°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#C98BD2
RGBrgb(201, 139, 210)
HSLhsl(292, 44%, 68%)
HSVhsv(292, 34%, 82%)
CMYKcmyk(4.3%, 33.8%, 0%, 17.6%)
CIE-LABlab(66.16, 35.40, -27.13)
CIE-LCHlch(66.16, 44.60, 322.54°)
OKLaboklab(72.24% 0.0955 -0.074)
OKLCHoklch(72.24% 0.121 322.2)
XYZxyz(44.9515, 35.5373, 65.4518)
Luminance0.3554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98BD2 #94D28B
analogous
#A58BD2 #C98BD2 #D28BB7
triadic
#C98BD2 #D2C98B #8BD2C9
tetradic
#C98BD2 #D2A58B #94D28B #8BB7D2
square
#C98BD2 #D2A58B #94D28B #8BB7D2
split-complementary
#C98BD2 #B7D28B #8BD2A5
monochromatic
#973FA3 #B45FC1 #C98BD2 #DEB7E3 #F2E3F4

Accessibility & contrast

On white

2.59
#C98BD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#C98BD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98BD2
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98BD2#FFFFFF#000000##000000
##C98BD21.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#839CD5
Deuteranopia (green-blind)
#93A3D0
Tritanopia (blue-blind)
#CB93A5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c98bd2;
/* rgb */ color: rgb(201, 139, 210);
/* oklch */ color: oklch(72.2% 0.121 322.2);
Tailwind
colors: {
  custom: {
    50: '#daaee0',
    500: '#c98bd2',
    950: '#000000',
  },
}
SCSS
$custom: #c98bd2;
$custom-light: #daaee0;
$custom-dark: #000000;
JSON
{
  "hex": "#c98bd2",
  "rgb": {
    "r": 201,
    "g": 139,
    "b": 210
  },
  "hsl": {
    "h": 292.394,
    "s": 44.099,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72244,
    "c": 0.12082,
    "h": 322.2
  },
  "luminance": 0.35536
}

Semantic roles & 50–950 ramp

primary
#C98BD2
secondary
#D4E7D2
accent
#B72E40
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #C98BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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