#C98DFD#C98DFD

#C98DFD is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.6% C 0.166 H 307.5°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#C98DFD
RGBrgb(201, 141, 253)
HSLhsl(272, 97%, 77%)
HSVhsv(272, 44%, 99%)
CMYKcmyk(20.6%, 44.3%, 0%, 0.8%)
CIE-LABlab(68.43, 43.27, -47.30)
CIE-LCHlch(68.43, 64.11, 312.45°)
OKLaboklab(74.55% 0.1013 -0.1318)
OKLCHoklch(74.55% 0.166 307.5)
XYZxyz(51.3384, 38.5596, 97.6477)
Luminance0.3856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98DFD #C1FD8D
analogous
#918DFD #C98DFD #FD8DF9
triadic
#C98DFD #FDC98D #8DFDC9
tetradic
#C98DFD #FD918D #C1FD8D #8DF9FD
square
#C98DFD #FD918D #C1FD8D #8DF9FD
split-complementary
#C98DFD #F9FD8D #8DFD91
monochromatic
#9015FB #AD51FC #C98DFD #E5C9FE #F1E1FE

Accessibility & contrast

On white

2.41
#C98DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#C98DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98DFD
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98DFD#FFFFFF#000000##000000
##C98DFD1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A5FF
Deuteranopia (green-blind)
#81A8FA
Tritanopia (blue-blind)
#C29FB9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c98dfd;
/* rgb */ color: rgb(201, 141, 253);
/* oklch */ color: oklch(74.6% 0.166 307.5);
Tailwind
colors: {
  custom: {
    50: '#dbaffe',
    500: '#c98dfd',
    950: '#000000',
  },
}
SCSS
$custom: #c98dfd;
$custom-light: #dbaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#c98dfd",
  "rgb": {
    "r": 201,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 272.143,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.74551,
    "c": 0.16625,
    "h": 307.5
  },
  "luminance": 0.38559
}

Semantic roles & 50–950 ramp

primary
#C98DFD
secondary
#E4F7D4
accent
#E6006B
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151018
muted
#837F86

Preview Lab

Preview with #C98DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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