#C98FFE#C98FFE

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

Color values

HEX#C98FFE
RGBrgb(201, 143, 254)
HSLhsl(271, 98%, 78%)
HSVhsv(271, 44%, 100%)
CMYKcmyk(20.9%, 43.7%, 0%, 0.4%)
CIE-LABlab(68.91, 42.41, -47.09)
CIE-LCHlch(68.91, 63.38, 312.01°)
OKLaboklab(74.93% 0.0987 -0.1312)
OKLCHoklch(74.93% 0.164 307)
XYZxyz(51.7957, 39.2187, 98.5880)
Luminance0.3922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98FFE #C4FE8F
analogous
#918FFE #C98FFE #FE8FFC
triadic
#C98FFE #FEC98F #8FFEC9
tetradic
#C98FFE #FE918F #C4FE8F #8FFCFE
square
#C98FFE #FE918F #C4FE8F #8FFCFE
split-complementary
#C98FFE #FCFE8F #8FFE91
monochromatic
#8F16FD #AC52FD #C98FFE #E6CCFF #F0E1FF

Accessibility & contrast

On white

2.37
#C98FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#C98FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98FFE
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98FFE#FFFFFF#000000##000000
##C98FFE1.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A6FF
Deuteranopia (green-blind)
#82A9FB
Tritanopia (blue-blind)
#C1A1BA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c98ffe;
/* rgb */ color: rgb(201, 143, 254);
/* oklch */ color: oklch(74.9% 0.164 307.0);
Tailwind
colors: {
  custom: {
    50: '#dbb1ff',
    500: '#c98ffe',
    950: '#000000',
  },
}
SCSS
$custom: #c98ffe;
$custom-light: #dbb1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c98ffe",
  "rgb": {
    "r": 201,
    "g": 143,
    "b": 254
  },
  "hsl": {
    "h": 271.351,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.74925,
    "c": 0.16422,
    "h": 307
  },
  "luminance": 0.39218
}

Semantic roles & 50–950 ramp

primary
#C98FFE
secondary
#E5F7D4
accent
#E6006E
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151118
muted
#838086

Preview Lab

Preview with #C98FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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