#C98BFC#C98BFC

#C98BFC is a light, vivid violet. Relative luminance 0.379; OKLCH L 74.2% C 0.168 H 308.1°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#C98BFC
RGBrgb(201, 139, 252)
HSLhsl(273, 95%, 77%)
HSVhsv(273, 45%, 99%)
CMYKcmyk(20.2%, 44.8%, 0%, 1.2%)
CIE-LABlab(67.96, 44.12, -47.50)
CIE-LCHlch(67.96, 64.83, 312.89°)
OKLaboklab(74.18% 0.1039 -0.1324)
OKLCHoklch(74.18% 0.168 308.1)
XYZxyz(50.8873, 37.9116, 96.7135)
Luminance0.3791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98BFC #BEFC8B
analogous
#918BFC #C98BFC #FC8BF7
triadic
#C98BFC #FCC98B #8BFCC9
tetradic
#C98BFC #FC918B #BEFC8B #8BF7FC
square
#C98BFC #FC918B #BEFC8B #8BF7FC
split-complementary
#C98BFC #F7FC8B #8BFC91
monochromatic
#9114F9 #AD4FFA #C98BFC #E5C7FE #F1E1FE

Accessibility & contrast

On white

2.45
#C98BFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#C98BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98BFC
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98BFC#FFFFFF#000000##000000
##C98BFC1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#80A6F9
Tritanopia (blue-blind)
#C29DB8
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c98bfc;
/* rgb */ color: rgb(201, 139, 252);
/* oklch */ color: oklch(74.2% 0.168 308.1);
Tailwind
colors: {
  custom: {
    50: '#dbaefe',
    500: '#c98bfc',
    950: '#000000',
  },
}
SCSS
$custom: #c98bfc;
$custom-light: #dbaefe;
$custom-dark: #000000;
JSON
{
  "hex": "#c98bfc",
  "rgb": {
    "r": 201,
    "g": 139,
    "b": 252
  },
  "hsl": {
    "h": 272.92,
    "s": 94.958,
    "l": 76.667
  },
  "oklch": {
    "l": 0.7418,
    "c": 0.16828,
    "h": 308.1
  },
  "luminance": 0.37911
}

Semantic roles & 50–950 ramp

primary
#C98BFC
secondary
#E4F6D5
accent
#E60068
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C98BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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