#C98BFB#C98BFB

#C98BFB is a light, vivid violet. Relative luminance 0.378; OKLCH L 74.1% C 0.167 H 308.4°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#C98BFB
RGBrgb(201, 139, 251)
HSLhsl(273, 93%, 76%)
HSVhsv(273, 45%, 98%)
CMYKcmyk(19.9%, 44.6%, 0%, 1.6%)
CIE-LABlab(67.91, 43.90, -47.03)
CIE-LCHlch(67.91, 64.34, 313.03°)
OKLaboklab(74.13% 0.1037 -0.131)
OKLCHoklch(74.13% 0.167 308.4)
XYZxyz(50.7292, 37.8484, 95.8811)
Luminance0.3785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98BFB #BDFB8B
analogous
#918BFB #C98BFB #FB8BF5
triadic
#C98BFB #FBC98B #8BFBC9
tetradic
#C98BFB #FB918B #BDFB8B #8BF5FB
square
#C98BFB #FB918B #BDFB8B #8BF5FB
split-complementary
#C98BFB #F5FB8B #8BFB91
monochromatic
#9215F7 #AD50F9 #C98BFB #E5C6FD #F1E1FE

Accessibility & contrast

On white

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

On black

8.57
#C98BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98BFB
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98BFB#FFFFFF#000000##000000
##C98BFB1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#80A6F8
Tritanopia (blue-blind)
#C29DB7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c98bfb;
/* rgb */ color: rgb(201, 139, 251);
/* oklch */ color: oklch(74.1% 0.167 308.4);
Tailwind
colors: {
  custom: {
    50: '#dbaefd',
    500: '#c98bfb',
    950: '#000000',
  },
}
SCSS
$custom: #c98bfb;
$custom-light: #dbaefd;
$custom-dark: #000000;
JSON
{
  "hex": "#c98bfb",
  "rgb": {
    "r": 201,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 273.214,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.7413,
    "c": 0.16711,
    "h": 308.4
  },
  "luminance": 0.37848
}

Semantic roles & 50–950 ramp

primary
#C98BFB
secondary
#E4F6D5
accent
#E60066
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C98BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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