#C98FDA#C98FDA

#C98FDA is a light, vivid purple. Relative luminance 0.371; OKLCH L 73.3% C 0.122 H 318.4°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#C98FDA
RGBrgb(201, 143, 218)
HSLhsl(286, 50%, 71%)
HSVhsv(286, 34%, 85%)
CMYKcmyk(7.8%, 34.4%, 0%, 14.5%)
CIE-LABlab(67.37, 34.80, -29.71)
CIE-LCHlch(67.37, 45.76, 319.51°)
OKLaboklab(73.26% 0.0916 -0.0813)
OKLCHoklch(73.26% 0.122 318.4)
XYZxyz(46.5630, 37.1256, 71.0292)
Luminance0.3712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98FDA #A0DA8F
analogous
#A38FDA #C98FDA #DA8FC5
triadic
#C98FDA #DAC98F #8FDAC9
tetradic
#C98FDA #DAA38F #A0DA8F #8FC5DA
square
#C98FDA #DAA38F #A0DA8F #8FC5DA
split-complementary
#C98FDA #C5DA8F #8FDAA3
monochromatic
#983BB3 #B361CB #C98FDA #DFBDE9 #F4E8F7

Accessibility & contrast

On white

2.49
#C98FDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#C98FDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98FDA
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98FDA#FFFFFF#000000##000000
##C98FDA1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A0DD
Deuteranopia (green-blind)
#93A6D8
Tritanopia (blue-blind)
#C998AB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c98fda;
/* rgb */ color: rgb(201, 143, 218);
/* oklch */ color: oklch(73.3% 0.122 318.4);
Tailwind
colors: {
  custom: {
    50: '#dab0e5',
    500: '#c98fda',
    950: '#000000',
  },
}
SCSS
$custom: #c98fda;
$custom-light: #dab0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c98fda",
  "rgb": {
    "r": 201,
    "g": 143,
    "b": 218
  },
  "hsl": {
    "h": 286.4,
    "s": 50.336,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73261,
    "c": 0.12248,
    "h": 318.4
  },
  "luminance": 0.37124
}

Semantic roles & 50–950 ramp

primary
#C98FDA
secondary
#DDECD8
accent
#BE284A
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #C98FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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