#988CBA#988CBA

#988CBA is a light, moderate violet. Relative luminance 0.290; OKLCH L 66.7% C 0.068 H 296.5°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#988CBA
RGBrgb(152, 140, 186)
HSLhsl(256, 25%, 64%)
HSVhsv(256, 25%, 73%)
CMYKcmyk(18.3%, 24.7%, 0%, 27.1%)
CIE-LABlab(60.76, 14.00, -22.36)
CIE-LCHlch(60.76, 26.38, 302.06°)
OKLaboklab(66.71% 0.0305 -0.0612)
OKLCHoklch(66.71% 0.068 296.5)
XYZxyz(31.1880, 28.9765, 50.3948)
Luminance0.2898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988CBA #AEBA8C
analogous
#8C97BA #988CBA #AF8CBA
triadic
#988CBA #BA988C #8CBA98
tetradic
#988CBA #BA8C97 #AEBA8C #8CBAAF
square
#988CBA #BA8C97 #AEBA8C #8CBAAF
split-complementary
#988CBA #BAAF8C #97BA8C
monochromatic
#5A4C7F #7666A3 #988CBA #BAB2D1 #DDD9E8

Accessibility & contrast

On white

3.09
#988CBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#988CBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988CBA
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988CBA#FFFFFF#000000##000000
##988CBA1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8293BC
Deuteranopia (green-blind)
#8492B9
Tritanopia (blue-blind)
#92939C
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #988cba;
/* rgb */ color: rgb(152, 140, 186);
/* oklch */ color: oklch(66.7% 0.068 296.5);
Tailwind
colors: {
  custom: {
    50: '#b7adce',
    500: '#988cba',
    950: '#000000',
  },
}
SCSS
$custom: #988cba;
$custom-light: #b7adce;
$custom-dark: #000000;
JSON
{
  "hex": "#988cba",
  "rgb": {
    "r": 152,
    "g": 140,
    "b": 186
  },
  "hsl": {
    "h": 255.652,
    "s": 25,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66709,
    "c": 0.06842,
    "h": 296.5
  },
  "luminance": 0.28977
}

Semantic roles & 50–950 ramp

primary
#988CBA
secondary
#D5D9C9
accent
#A4428A
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111013
muted
#807F82

Preview Lab

Preview with #988CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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