#C998E7#C998E7

#C998E7 is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.4% C 0.122 H 312.0°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#C998E7
RGBrgb(201, 152, 231)
HSLhsl(277, 62%, 75%)
HSVhsv(277, 34%, 91%)
CMYKcmyk(13%, 34.2%, 0%, 9.4%)
CIE-LABlab(69.93, 32.55, -32.93)
CIE-LCHlch(69.93, 46.30, 314.67°)
OKLaboklab(75.37% 0.0816 -0.0905)
OKLCHoklch(75.37% 0.122 312)
XYZxyz(49.7370, 40.6443, 80.8108)
Luminance0.4064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C998E7 #B6E798
analogous
#A198E7 #C998E7 #E798DE
triadic
#C998E7 #E7C998 #98E7C9
tetradic
#C998E7 #E7A198 #B6E798 #98DEE7
square
#C998E7 #E7A198 #B6E798 #98DEE7
split-complementary
#C998E7 #DEE798 #98E7A1
monochromatic
#9535D0 #AF66DB #C998E7 #E3CAF3 #F2E6F9

Accessibility & contrast

On white

2.30
#C998E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#C998E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C998E7
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C998E7#FFFFFF#000000##000000
##C998E71.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA8EA
Deuteranopia (green-blind)
#95ACE5
Tritanopia (blue-blind)
#C6A3B5
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c998e7;
/* rgb */ color: rgb(201, 152, 231);
/* oklch */ color: oklch(75.4% 0.122 312.0);
Tailwind
colors: {
  custom: {
    50: '#dab7ef',
    500: '#c998e7',
    950: '#000000',
  },
}
SCSS
$custom: #c998e7;
$custom-light: #dab7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#c998e7",
  "rgb": {
    "r": 201,
    "g": 152,
    "b": 231
  },
  "hsl": {
    "h": 277.215,
    "s": 62.205,
    "l": 75.098
  },
  "oklch": {
    "l": 0.75368,
    "c": 0.12186,
    "h": 312
  },
  "luminance": 0.40644
}

Semantic roles & 50–950 ramp

primary
#C998E7
secondary
#E3F1DA
accent
#CA1C5E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #C998E7

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

Preview Lab → · Contrast checker → · Palette generator →

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