#C98FFB#C98FFB

#C98FFB is a light, vivid violet. Relative luminance 0.390; OKLCH L 74.8% C 0.161 H 307.7°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#C98FFB
RGBrgb(201, 143, 251)
HSLhsl(272, 93%, 77%)
HSVhsv(272, 43%, 98%)
CMYKcmyk(19.9%, 43%, 0%, 1.6%)
CIE-LABlab(68.77, 41.75, -45.67)
CIE-LCHlch(68.77, 61.88, 312.43°)
OKLaboklab(74.78% 0.0983 -0.1271)
OKLCHoklch(74.78% 0.161 307.7)
XYZxyz(51.3190, 39.0280, 96.0777)
Luminance0.3903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98FFB #C1FB8F
analogous
#938FFB #C98FFB #FB8FF7
triadic
#C98FFB #FBC98F #8FFBC9
tetradic
#C98FFB #FB938F #C1FB8F #8FF7FB
square
#C98FFB #FB938F #C1FB8F #8FF7FB
split-complementary
#C98FFB #F7FB8F #8FFB93
monochromatic
#9019F7 #AD54F9 #C98FFB #E5CAFD #F1E1FE

Accessibility & contrast

On white

2.38
#C98FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#C98FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98FFB
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98FFB#FFFFFF#000000##000000
##C98FFB1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A5FF
Deuteranopia (green-blind)
#84A8F8
Tritanopia (blue-blind)
#C2A0B9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c98ffb;
/* rgb */ color: rgb(201, 143, 251);
/* oklch */ color: oklch(74.8% 0.161 307.7);
Tailwind
colors: {
  custom: {
    50: '#dbb1fd',
    500: '#c98ffb',
    950: '#000000',
  },
}
SCSS
$custom: #c98ffb;
$custom-light: #dbb1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c98ffb",
  "rgb": {
    "r": 201,
    "g": 143,
    "b": 251
  },
  "hsl": {
    "h": 272.222,
    "s": 93.103,
    "l": 77.255
  },
  "oklch": {
    "l": 0.74777,
    "c": 0.16066,
    "h": 307.7
  },
  "luminance": 0.39027
}

Semantic roles & 50–950 ramp

primary
#C98FFB
secondary
#E4F6D5
accent
#E6006A
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #C98FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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