#C98DEC#C98DEC

#C98DEC is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.7% C 0.146 H 312.2°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#C98DEC
RGBrgb(201, 141, 236)
HSLhsl(278, 71%, 74%)
HSVhsv(278, 40%, 93%)
CMYKcmyk(14.8%, 40.3%, 0%, 7.5%)
CIE-LABlab(67.67, 39.60, -39.18)
CIE-LCHlch(67.67, 55.71, 315.30°)
OKLaboklab(73.73% 0.0984 -0.1084)
OKLCHoklch(73.73% 0.146 312.2)
XYZxyz(48.7500, 37.5243, 84.0154)
Luminance0.3752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98DEC #B0EC8D
analogous
#9A8DEC #C98DEC #EC8DE0
triadic
#C98DEC #ECC98D #8DECC9
tetradic
#C98DEC #EC9A8D #B0EC8D #8DE0EC
square
#C98DEC #EC9A8D #B0EC8D #8DE0EC
split-complementary
#C98DEC #E0EC8D #8DEC9A
monochromatic
#9724DA #B059E3 #C98DEC #E2C1F5 #F3E5FB

Accessibility & contrast

On white

2.47
#C98DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#C98DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98DEC
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98DEC#FFFFFF#000000##000000
##C98DEC1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA2F0
Deuteranopia (green-blind)
#8AA6E9
Tritanopia (blue-blind)
#C69BB1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c98dec;
/* rgb */ color: rgb(201, 141, 236);
/* oklch */ color: oklch(73.7% 0.146 312.2);
Tailwind
colors: {
  custom: {
    50: '#dbaff2',
    500: '#c98dec',
    950: '#000000',
  },
}
SCSS
$custom: #c98dec;
$custom-light: #dbaff2;
$custom-dark: #000000;
JSON
{
  "hex": "#c98dec",
  "rgb": {
    "r": 201,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 277.895,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73729,
    "c": 0.14639,
    "h": 312.2
  },
  "luminance": 0.37523
}

Semantic roles & 50–950 ramp

primary
#C98DEC
secondary
#E2F2D9
accent
#D31259
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C98DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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