#998AAA#998AAA

#998AAA is a light, muted violet. Relative luminance 0.279; OKLCH L 65.8% C 0.050 H 306.3°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#998AAA
RGBrgb(153, 138, 170)
HSLhsl(268, 16%, 60%)
HSVhsv(268, 19%, 67%)
CMYKcmyk(10%, 18.8%, 0%, 33.3%)
CIE-LABlab(59.75, 11.93, -14.80)
CIE-LCHlch(59.75, 19.01, 308.86°)
OKLaboklab(65.76% 0.0294 -0.0401)
OKLCHoklch(65.76% 0.05 306.3)
XYZxyz(29.4797, 27.8516, 41.8453)
Luminance0.2785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998AAA #9BAA8A
analogous
#8A8BAA #998AAA #A98AAA
triadic
#998AAA #AA998A #8AAA99
tetradic
#998AAA #AA8A8B #9BAA8A #8AAAA9
square
#998AAA #AA8A8B #9BAA8A #8AAAA9
split-complementary
#998AAA #AAA98A #8BAA8A
monochromatic
#5C4E6C #7A688F #998AAA #B8ADC4 #D7D1DE

Accessibility & contrast

On white

3.20
#998AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#998AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998AAA
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998AAA#FFFFFF#000000##000000
##998AAA1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#858FAB
Deuteranopia (green-blind)
#8790A9
Tritanopia (blue-blind)
#978E95
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #998aaa;
/* rgb */ color: rgb(153, 138, 170);
/* oklch */ color: oklch(65.8% 0.050 306.3);
Tailwind
colors: {
  custom: {
    50: '#b7acc3',
    500: '#998aaa',
    950: '#000000',
  },
}
SCSS
$custom: #998aaa;
$custom-light: #b7acc3;
$custom-dark: #000000;
JSON
{
  "hex": "#998aaa",
  "rgb": {
    "r": 153,
    "g": 138,
    "b": 170
  },
  "hsl": {
    "h": 268.125,
    "s": 15.842,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65761,
    "c": 0.04969,
    "h": 306.3
  },
  "luminance": 0.27852
}

Semantic roles & 50–950 ramp

primary
#998AAA
secondary
#C8CEC2
accent
#9A4B75
background
#FBFAFB
surface
#F6F4F7
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #998AAA

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

Preview Lab → · Contrast checker → · Palette generator →

#998AAA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva