#C98FF8#C98FF8

#C98FF8 is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.6% C 0.157 H 308.5°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#C98FF8
RGBrgb(201, 143, 248)
HSLhsl(273, 88%, 77%)
HSVhsv(273, 42%, 97%)
CMYKcmyk(19%, 42.3%, 0%, 2.7%)
CIE-LABlab(68.64, 41.09, -44.25)
CIE-LCHlch(68.64, 60.39, 312.88°)
OKLaboklab(74.63% 0.0978 -0.123)
OKLCHoklch(74.63% 0.157 308.5)
XYZxyz(50.8499, 38.8403, 93.6069)
Luminance0.3884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98FF8 #BEF88F
analogous
#958FF8 #C98FF8 #F88FF2
triadic
#C98FF8 #F8C98F #8FF8C9
tetradic
#C98FF8 #F8958F #BEF88F #8FF2F8
square
#C98FF8 #F8958F #BEF88F #8FF2F8
split-complementary
#C98FF8 #F2F88F #8FF895
monochromatic
#911CF1 #AD55F4 #C98FF8 #E5C9FC #F1E2FD

Accessibility & contrast

On white

2.40
#C98FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#C98FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98FF8
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98FF8#FFFFFF#000000##000000
##C98FF81.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A5FC
Deuteranopia (green-blind)
#86A8F5
Tritanopia (blue-blind)
#C39FB8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c98ff8;
/* rgb */ color: rgb(201, 143, 248);
/* oklch */ color: oklch(74.6% 0.157 308.5);
Tailwind
colors: {
  custom: {
    50: '#dbb1fb',
    500: '#c98ff8',
    950: '#000000',
  },
}
SCSS
$custom: #c98ff8;
$custom-light: #dbb1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c98ff8",
  "rgb": {
    "r": 201,
    "g": 143,
    "b": 248
  },
  "hsl": {
    "h": 273.143,
    "s": 88.235,
    "l": 76.667
  },
  "oklch": {
    "l": 0.7463,
    "c": 0.15713,
    "h": 308.5
  },
  "luminance": 0.3884
}

Semantic roles & 50–950 ramp

primary
#C98FF8
secondary
#E4F5D6
accent
#E50167
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #C98FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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