#C98FDB#C98FDB

#C98FDB is a light, vivid purple. Relative luminance 0.372; OKLCH L 73.3% C 0.124 H 318.0°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#C98FDB
RGBrgb(201, 143, 219)
HSLhsl(286, 51%, 71%)
HSVhsv(286, 35%, 86%)
CMYKcmyk(8.2%, 34.7%, 0%, 14.1%)
CIE-LABlab(67.41, 35.00, -30.21)
CIE-LCHlch(67.41, 46.23, 319.21°)
OKLaboklab(73.3% 0.0918 -0.0827)
OKLCHoklch(73.3% 0.124 318)
XYZxyz(46.6942, 37.1781, 71.7204)
Luminance0.3718 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98FDB #A1DB8F
analogous
#A38FDB #C98FDB #DB8FC7
triadic
#C98FDB #DBC98F #8FDBC9
tetradic
#C98FDB #DBA38F #A1DB8F #8FC7DB
square
#C98FDB #DBA38F #A1DB8F #8FC7DB
split-complementary
#C98FDB #C7DB8F #8FDBA3
monochromatic
#983AB5 #B361CC #C98FDB #DFBDEA #F4E8F8

Accessibility & contrast

On white

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

On black

8.44
#C98FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98FDB
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98FDB#FFFFFF#000000##000000
##C98FDB1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A0DE
Deuteranopia (green-blind)
#92A6D9
Tritanopia (blue-blind)
#C998AB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c98fdb;
/* rgb */ color: rgb(201, 143, 219);
/* oklch */ color: oklch(73.3% 0.124 318.0);
Tailwind
colors: {
  custom: {
    50: '#dab0e6',
    500: '#c98fdb',
    950: '#000000',
  },
}
SCSS
$custom: #c98fdb;
$custom-light: #dab0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c98fdb",
  "rgb": {
    "r": 201,
    "g": 143,
    "b": 219
  },
  "hsl": {
    "h": 285.789,
    "s": 51.351,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73303,
    "c": 0.12359,
    "h": 318
  },
  "luminance": 0.37177
}

Semantic roles & 50–950 ramp

primary
#C98FDB
secondary
#DEEDD9
accent
#BF274B
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #C98FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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