#C98AED#C98AED

#C98AED is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.3% C 0.153 H 312.4°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#C98AED
RGBrgb(201, 138, 237)
HSLhsl(278, 73%, 74%)
HSVhsv(278, 42%, 93%)
CMYKcmyk(15.2%, 41.8%, 0%, 7.1%)
CIE-LABlab(67.06, 41.43, -40.69)
CIE-LCHlch(67.06, 58.07, 315.52°)
OKLaboklab(73.29% 0.1028 -0.1127)
OKLCHoklch(73.29% 0.153 312.4)
XYZxyz(48.4593, 36.7098, 84.6373)
Luminance0.3671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98AED #AEED8A
analogous
#978AED #C98AED #ED8ADF
triadic
#C98AED #EDC98A #8AEDC9
tetradic
#C98AED #ED978A #AEED8A #8ADFED
square
#C98AED #ED978A #AEED8A #8ADFED
split-complementary
#C98AED #DFED8A #8AED97
monochromatic
#9822DB #B155E5 #C98AED #E1BFF5 #F3E4FB

Accessibility & contrast

On white

2.52
#C98AED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#C98AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98AED
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98AED#FFFFFF#000000##000000
##C98AED1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A0F1
Deuteranopia (green-blind)
#86A5EA
Tritanopia (blue-blind)
#C698B0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c98aed;
/* rgb */ color: rgb(201, 138, 237);
/* oklch */ color: oklch(73.3% 0.153 312.4);
Tailwind
colors: {
  custom: {
    50: '#dbadf3',
    500: '#c98aed',
    950: '#000000',
  },
}
SCSS
$custom: #c98aed;
$custom-light: #dbadf3;
$custom-dark: #000000;
JSON
{
  "hex": "#c98aed",
  "rgb": {
    "r": 201,
    "g": 138,
    "b": 237
  },
  "hsl": {
    "h": 278.182,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73285,
    "c": 0.15255,
    "h": 312.4
  },
  "luminance": 0.36709
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C98AED

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

Preview Lab → · Contrast checker → · Palette generator →

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