#C98FFD#C98FFD

#C98FFD is a light, vivid violet. Relative luminance 0.392; OKLCH L 74.9% C 0.163 H 307.2°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#C98FFD
RGBrgb(201, 143, 253)
HSLhsl(272, 96%, 78%)
HSVhsv(272, 43%, 99%)
CMYKcmyk(20.6%, 43.5%, 0%, 0.8%)
CIE-LABlab(68.86, 42.19, -46.62)
CIE-LCHlch(68.86, 62.88, 312.15°)
OKLaboklab(74.88% 0.0986 -0.1299)
OKLCHoklch(74.88% 0.163 307.2)
XYZxyz(51.6360, 39.1548, 97.7469)
Luminance0.3915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98FFD #C3FD8F
analogous
#928FFD #C98FFD #FD8FFA
triadic
#C98FFD #FDC98F #8FFDC9
tetradic
#C98FFD #FD928F #C3FD8F #8FFAFD
square
#C98FFD #FD928F #C3FD8F #8FFAFD
split-complementary
#C98FFD #FAFD8F #8FFD92
monochromatic
#8F17FB #AC53FC #C98FFD #E6CBFE #F1E1FE

Accessibility & contrast

On white

2.38
#C98FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#C98FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98FFD
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98FFD#FFFFFF#000000##000000
##C98FFD1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A6FF
Deuteranopia (green-blind)
#83A9FA
Tritanopia (blue-blind)
#C2A1BA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c98ffd;
/* rgb */ color: rgb(201, 143, 253);
/* oklch */ color: oklch(74.9% 0.163 307.2);
Tailwind
colors: {
  custom: {
    50: '#dbb1fe',
    500: '#c98ffd',
    950: '#000000',
  },
}
SCSS
$custom: #c98ffd;
$custom-light: #dbb1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c98ffd",
  "rgb": {
    "r": 201,
    "g": 143,
    "b": 253
  },
  "hsl": {
    "h": 271.636,
    "s": 96.491,
    "l": 77.647
  },
  "oklch": {
    "l": 0.74875,
    "c": 0.16304,
    "h": 307.2
  },
  "luminance": 0.39154
}

Semantic roles & 50–950 ramp

primary
#C98FFD
secondary
#E5F7D4
accent
#E6006C
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151118
muted
#838086

Preview Lab

Preview with #C98FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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