#C98BEE#C98BEE

#C98BEE is a light, vivid violet. Relative luminance 0.371; OKLCH L 73.5% C 0.152 H 311.9°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#C98BEE
RGBrgb(201, 139, 238)
HSLhsl(278, 74%, 74%)
HSVhsv(278, 42%, 93%)
CMYKcmyk(15.5%, 41.6%, 0%, 6.7%)
CIE-LABlab(67.32, 41.10, -40.83)
CIE-LCHlch(67.32, 57.93, 315.19°)
OKLaboklab(73.5% 0.1016 -0.1131)
OKLCHoklch(73.5% 0.152 311.9)
XYZxyz(48.7500, 37.0567, 85.4569)
Luminance0.3706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98BEE #B0EE8B
analogous
#988BEE #C98BEE #EE8BE2
triadic
#C98BEE #EEC98B #8BEEC9
tetradic
#C98BEE #EE988B #B0EE8B #8BE2EE
square
#C98BEE #EE988B #B0EE8B #8BE2EE
split-complementary
#C98BEE #E2EE8B #8BEE98
monochromatic
#9721DE #B056E6 #C98BEE #E2C0F6 #F3E4FB

Accessibility & contrast

On white

2.50
#C98BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#C98BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98BEE
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98BEE#FFFFFF#000000##000000
##C98BEE1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A1F2
Deuteranopia (green-blind)
#87A5EB
Tritanopia (blue-blind)
#C599B1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c98bee;
/* rgb */ color: rgb(201, 139, 238);
/* oklch */ color: oklch(73.5% 0.152 311.9);
Tailwind
colors: {
  custom: {
    50: '#dbaef4',
    500: '#c98bee',
    950: '#000000',
  },
}
SCSS
$custom: #c98bee;
$custom-light: #dbaef4;
$custom-dark: #000000;
JSON
{
  "hex": "#c98bee",
  "rgb": {
    "r": 201,
    "g": 139,
    "b": 238
  },
  "hsl": {
    "h": 277.576,
    "s": 74.436,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73495,
    "c": 0.15204,
    "h": 311.9
  },
  "luminance": 0.37056
}

Semantic roles & 50–950 ramp

primary
#C98BEE
secondary
#E2F3D8
accent
#D70F5A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C98BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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