#C98FF9#C98FF9

#C98FF9 is a light, vivid violet. Relative luminance 0.389; OKLCH L 74.7% C 0.158 H 308.2°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#C98FF9
RGBrgb(201, 143, 249)
HSLhsl(273, 90%, 77%)
HSVhsv(273, 43%, 98%)
CMYKcmyk(19.3%, 42.6%, 0%, 2.4%)
CIE-LABlab(68.68, 41.31, -44.72)
CIE-LCHlch(68.68, 60.88, 312.73°)
OKLaboklab(74.68% 0.0979 -0.1244)
OKLCHoklch(74.68% 0.158 308.2)
XYZxyz(51.0055, 38.9026, 94.4261)
Luminance0.3890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98FF9 #BFF98F
analogous
#948FF9 #C98FF9 #F98FF4
triadic
#C98FF9 #F9C98F #8FF9C9
tetradic
#C98FF9 #F9948F #BFF98F #8FF4F9
square
#C98FF9 #F9948F #BFF98F #8FF4F9
split-complementary
#C98FF9 #F4F98F #8FF994
monochromatic
#911BF3 #AD55F6 #C98FF9 #E5C9FC #F1E2FD

Accessibility & contrast

On white

2.39
#C98FF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#C98FF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98FF9
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98FF9#FFFFFF#000000##000000
##C98FF91.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A5FD
Deuteranopia (green-blind)
#85A8F6
Tritanopia (blue-blind)
#C3A0B8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c98ff9;
/* rgb */ color: rgb(201, 143, 249);
/* oklch */ color: oklch(74.7% 0.158 308.2);
Tailwind
colors: {
  custom: {
    50: '#dbb1fb',
    500: '#c98ff9',
    950: '#000000',
  },
}
SCSS
$custom: #c98ff9;
$custom-light: #dbb1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c98ff9",
  "rgb": {
    "r": 201,
    "g": 143,
    "b": 249
  },
  "hsl": {
    "h": 272.83,
    "s": 89.831,
    "l": 76.863
  },
  "oklch": {
    "l": 0.74679,
    "c": 0.15831,
    "h": 308.2
  },
  "luminance": 0.38902
}

Semantic roles & 50–950 ramp

primary
#C98FF9
secondary
#E4F6D5
accent
#E60068
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #C98FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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