#C98DEB#C98DEB

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

Color values

HEX#C98DEB
RGBrgb(201, 141, 235)
HSLhsl(278, 70%, 74%)
HSVhsv(278, 40%, 92%)
CMYKcmyk(14.5%, 40%, 0%, 7.8%)
CIE-LABlab(67.63, 39.38, -38.70)
CIE-LCHlch(67.63, 55.22, 315.50°)
OKLaboklab(73.68% 0.0982 -0.107)
OKLCHoklch(73.68% 0.145 312.5)
XYZxyz(48.6051, 37.4663, 83.2524)
Luminance0.3746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98DEB #AFEB8D
analogous
#9A8DEB #C98DEB #EB8DDE
triadic
#C98DEB #EBC98D #8DEBC9
tetradic
#C98DEB #EB9A8D #AFEB8D #8DDEEB
square
#C98DEB #EB9A8D #AFEB8D #8DDEEB
split-complementary
#C98DEB #DEEB8D #8DEB9A
monochromatic
#9726D8 #B059E2 #C98DEB #E2C1F4 #F3E5FA

Accessibility & contrast

On white

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

On black

8.49
#C98DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98DEB
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98DEB#FFFFFF#000000##000000
##C98DEB1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA1EE
Deuteranopia (green-blind)
#8AA6E8
Tritanopia (blue-blind)
#C69AB1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c98deb;
/* rgb */ color: rgb(201, 141, 235);
/* oklch */ color: oklch(73.7% 0.145 312.5);
Tailwind
colors: {
  custom: {
    50: '#dbaff1',
    500: '#c98deb',
    950: '#000000',
  },
}
SCSS
$custom: #c98deb;
$custom-light: #dbaff1;
$custom-dark: #000000;
JSON
{
  "hex": "#c98deb",
  "rgb": {
    "r": 201,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 278.298,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73682,
    "c": 0.14524,
    "h": 312.5
  },
  "luminance": 0.37465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C98DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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