#C98EF9#C98EF9

#C98EF9 is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.5% C 0.160 H 308.4°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#C98EF9
RGBrgb(201, 142, 249)
HSLhsl(273, 90%, 77%)
HSVhsv(273, 43%, 98%)
CMYKcmyk(19.3%, 43%, 0%, 2.4%)
CIE-LABlab(68.46, 41.85, -45.07)
CIE-LCHlch(68.46, 61.50, 312.88°)
OKLaboklab(74.52% 0.0993 -0.1254)
OKLCHoklch(74.52% 0.16 308.4)
XYZxyz(50.8560, 38.6037, 94.3763)
Luminance0.3860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98EF9 #BEF98E
analogous
#948EF9 #C98EF9 #F98EF4
triadic
#C98EF9 #F9C98E #8EF9C9
tetradic
#C98EF9 #F9948E #BEF98E #8EF4F9
square
#C98EF9 #F9948E #BEF98E #8EF4F9
split-complementary
#C98EF9 #F4F98E #8EF994
monochromatic
#911AF3 #AD54F6 #C98EF9 #E5C8FC #F1E2FD

Accessibility & contrast

On white

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

On black

8.72
#C98EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98EF9
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98EF9#FFFFFF#000000##000000
##C98EF91.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A4FD
Deuteranopia (green-blind)
#84A8F6
Tritanopia (blue-blind)
#C39FB8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c98ef9;
/* rgb */ color: rgb(201, 142, 249);
/* oklch */ color: oklch(74.5% 0.160 308.4);
Tailwind
colors: {
  custom: {
    50: '#dbb0fb',
    500: '#c98ef9',
    950: '#000000',
  },
}
SCSS
$custom: #c98ef9;
$custom-light: #dbb0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c98ef9",
  "rgb": {
    "r": 201,
    "g": 142,
    "b": 249
  },
  "hsl": {
    "h": 273.084,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74515,
    "c": 0.15992,
    "h": 308.4
  },
  "luminance": 0.38603
}

Semantic roles & 50–950 ramp

primary
#C98EF9
secondary
#E4F6D5
accent
#E60067
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #C98EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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