#C98CD4#C98CD4

#C98CD4 is a light, vivid purple. Relative luminance 0.359; OKLCH L 72.5% C 0.121 H 321.3°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#C98CD4
RGBrgb(201, 140, 212)
HSLhsl(291, 46%, 69%)
HSVhsv(291, 34%, 83%)
CMYKcmyk(5.2%, 34%, 0%, 16.9%)
CIE-LABlab(66.47, 35.25, -27.78)
CIE-LCHlch(66.47, 44.88, 321.76°)
OKLaboklab(72.5% 0.0945 -0.0758)
OKLCHoklch(72.5% 0.121 321.3)
XYZxyz(45.3477, 35.9285, 66.8207)
Luminance0.3593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98CD4 #97D48C
analogous
#A58CD4 #C98CD4 #D48CBB
triadic
#C98CD4 #D4C98C #8CD4C9
tetradic
#C98CD4 #D4A58C #97D48C #8CBBD4
square
#C98CD4 #D4A58C #97D48C #8CBBD4
split-complementary
#C98CD4 #BBD48C #8CD4A5
monochromatic
#973EA7 #B45FC3 #C98CD4 #DEB9E5 #F3E5F5

Accessibility & contrast

On white

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

On black

8.19
#C98CD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98CD4
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98CD4#FFFFFF#000000##000000
##C98CD41.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#849DD7
Deuteranopia (green-blind)
#93A4D2
Tritanopia (blue-blind)
#CB94A7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c98cd4;
/* rgb */ color: rgb(201, 140, 212);
/* oklch */ color: oklch(72.5% 0.121 321.3);
Tailwind
colors: {
  custom: {
    50: '#daaee1',
    500: '#c98cd4',
    950: '#000000',
  },
}
SCSS
$custom: #c98cd4;
$custom-light: #daaee1;
$custom-dark: #000000;
JSON
{
  "hex": "#c98cd4",
  "rgb": {
    "r": 201,
    "g": 140,
    "b": 212
  },
  "hsl": {
    "h": 290.833,
    "s": 45.57,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72497,
    "c": 0.12119,
    "h": 321.3
  },
  "luminance": 0.35927
}

Semantic roles & 50–950 ramp

primary
#C98CD4
secondary
#D7E8D3
accent
#B92D42
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #C98CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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