#C98CED#C98CED

#C98CED is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.6% C 0.149 H 312.1°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#C98CED
RGBrgb(201, 140, 237)
HSLhsl(278, 73%, 74%)
HSVhsv(278, 41%, 93%)
CMYKcmyk(15.2%, 40.9%, 0%, 7.1%)
CIE-LABlab(67.49, 40.35, -40.01)
CIE-LCHlch(67.49, 56.82, 315.24°)
OKLaboklab(73.61% 0.1 -0.1108)
OKLCHoklch(73.61% 0.149 312.1)
XYZxyz(48.7489, 37.2890, 84.7338)
Luminance0.3729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98CED #B0ED8C
analogous
#998CED #C98CED #ED8CE1
triadic
#C98CED #EDC98C #8CEDC9
tetradic
#C98CED #ED998C #B0ED8C #8CE1ED
square
#C98CED #ED998C #B0ED8C #8CE1ED
split-complementary
#C98CED #E1ED8C #8CED99
monochromatic
#9722DC #B057E5 #C98CED #E2C1F5 #F3E5FB

Accessibility & contrast

On white

2.48
#C98CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#C98CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98CED
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98CED#FFFFFF#000000##000000
##C98CED1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A1F1
Deuteranopia (green-blind)
#88A6EA
Tritanopia (blue-blind)
#C69AB1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c98ced;
/* rgb */ color: rgb(201, 140, 237);
/* oklch */ color: oklch(73.6% 0.149 312.1);
Tailwind
colors: {
  custom: {
    50: '#dbaef3',
    500: '#c98ced',
    950: '#000000',
  },
}
SCSS
$custom: #c98ced;
$custom-light: #dbaef3;
$custom-dark: #000000;
JSON
{
  "hex": "#c98ced",
  "rgb": {
    "r": 201,
    "g": 140,
    "b": 237
  },
  "hsl": {
    "h": 277.732,
    "s": 72.932,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73611,
    "c": 0.14922,
    "h": 312.1
  },
  "luminance": 0.37288
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C98CED

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

Preview Lab → · Contrast checker → · Palette generator →

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