#988DC2#988DC2

#988DC2 is a light, moderate violet. Relative luminance 0.296; OKLCH L 67.2% C 0.078 H 293.7°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#988DC2
RGBrgb(152, 141, 194)
HSLhsl(252, 30%, 66%)
HSVhsv(252, 27%, 76%)
CMYKcmyk(21.6%, 27.3%, 0%, 23.9%)
CIE-LABlab(61.32, 15.29, -26.01)
CIE-LCHlch(61.32, 30.17, 300.46°)
OKLaboklab(67.25% 0.0314 -0.0716)
OKLCHoklch(67.25% 0.078 293.7)
XYZxyz(32.2091, 29.6199, 55.0488)
Luminance0.2962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988DC2 #B7C28D
analogous
#8D9CC2 #988DC2 #B28DC2
triadic
#988DC2 #C2988D #8DC298
tetradic
#988DC2 #C28D9C #B7C28D #8DC2B2
square
#988DC2 #C28D9C #B7C28D #8DC2B2
split-complementary
#988DC2 #C2B28D #9CC28D
monochromatic
#574A8A #7465AD #988DC2 #BCB5D7 #E0DDED

Accessibility & contrast

On white

3.03
#988DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#988DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988DC2
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988DC2#FFFFFF#000000##000000
##988DC21.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8095C4
Deuteranopia (green-blind)
#8293C1
Tritanopia (blue-blind)
#9096A0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #988dc2;
/* rgb */ color: rgb(152, 141, 194);
/* oklch */ color: oklch(67.2% 0.078 293.7);
Tailwind
colors: {
  custom: {
    50: '#b7aed4',
    500: '#988dc2',
    950: '#000000',
  },
}
SCSS
$custom: #988dc2;
$custom-light: #b7aed4;
$custom-dark: #000000;
JSON
{
  "hex": "#988dc2",
  "rgb": {
    "r": 152,
    "g": 141,
    "b": 194
  },
  "hsl": {
    "h": 252.453,
    "s": 30.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67245,
    "c": 0.07819,
    "h": 293.7
  },
  "luminance": 0.2962
}

Semantic roles & 50–950 ramp

primary
#988DC2
secondary
#DBDECD
accent
#A93D92
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83

Preview Lab

Preview with #988DC2

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

Preview Lab → · Contrast checker → · Palette generator →

#988DC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva