#C98EDD#C98EDD

#C98EDD is a light, vivid purple. Relative luminance 0.370; OKLCH L 73.2% C 0.128 H 317.3°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#C98EDD
RGBrgb(201, 142, 221)
HSLhsl(285, 54%, 71%)
HSVhsv(285, 36%, 87%)
CMYKcmyk(9%, 35.7%, 0%, 13.3%)
CIE-LABlab(67.27, 35.95, -31.54)
CIE-LCHlch(67.27, 47.82, 318.74°)
OKLaboklab(73.22% 0.0938 -0.0865)
OKLCHoklch(73.22% 0.128 317.3)
XYZxyz(46.8097, 36.9851, 73.0656)
Luminance0.3698 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98EDD #A2DD8E
analogous
#A18EDD #C98EDD #DD8EC9
triadic
#C98EDD #DDC98E #8EDDC9
tetradic
#C98EDD #DDA18E #A2DD8E #8EC9DD
square
#C98EDD #DDA18E #A2DD8E #8EC9DD
split-complementary
#C98EDD #C9DD8E #8EDDA1
monochromatic
#9838B9 #B35FCF #C98EDD #DFBDEB #F4E7F8

Accessibility & contrast

On white

2.50
#C98EDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#C98EDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98EDD
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98EDD#FFFFFF#000000##000000
##C98EDD1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A0E0
Deuteranopia (green-blind)
#91A6DB
Tritanopia (blue-blind)
#C998AB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c98edd;
/* rgb */ color: rgb(201, 142, 221);
/* oklch */ color: oklch(73.2% 0.128 317.3);
Tailwind
colors: {
  custom: {
    50: '#dab0e7',
    500: '#c98edd',
    950: '#000000',
  },
}
SCSS
$custom: #c98edd;
$custom-light: #dab0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c98edd",
  "rgb": {
    "r": 201,
    "g": 142,
    "b": 221
  },
  "hsl": {
    "h": 284.81,
    "s": 53.741,
    "l": 71.176
  },
  "oklch": {
    "l": 0.7322,
    "c": 0.12757,
    "h": 317.3
  },
  "luminance": 0.36984
}

Semantic roles & 50–950 ramp

primary
#C98EDD
secondary
#DEEED9
accent
#C1244C
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #C98EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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