#998ABA#998ABA

#998ABA is a light, moderate violet. Relative luminance 0.285; OKLCH L 66.4% C 0.072 H 298.8°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#998ABA
RGBrgb(153, 138, 186)
HSLhsl(259, 26%, 64%)
HSVhsv(259, 26%, 73%)
CMYKcmyk(17.7%, 25.8%, 0%, 27.1%)
CIE-LABlab(60.33, 15.47, -23.01)
CIE-LCHlch(60.33, 27.73, 303.92°)
OKLaboklab(66.4% 0.0346 -0.063)
OKLCHoklch(66.4% 0.072 298.8)
XYZxyz(31.0864, 28.4943, 50.3071)
Luminance0.2849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998ABA #ABBA8A
analogous
#8A93BA #998ABA #B18ABA
triadic
#998ABA #BA998A #8ABA99
tetradic
#998ABA #BA8A93 #ABBA8A #8ABAB1
square
#998ABA #BA8A93 #ABBA8A #8ABAB1
split-complementary
#998ABA #BAB18A #93BA8A
monochromatic
#5B4B7F #7764A3 #998ABA #BBB0D1 #DCD7E7

Accessibility & contrast

On white

3.13
#998ABA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#998ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998ABA
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998ABA#FFFFFF#000000##000000
##998ABA1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8091BC
Deuteranopia (green-blind)
#8291B9
Tritanopia (blue-blind)
#93919B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #998aba;
/* rgb */ color: rgb(153, 138, 186);
/* oklch */ color: oklch(66.4% 0.072 298.8);
Tailwind
colors: {
  custom: {
    50: '#b7accf',
    500: '#998aba',
    950: '#000000',
  },
}
SCSS
$custom: #998aba;
$custom-light: #b7accf;
$custom-dark: #000000;
JSON
{
  "hex": "#998aba",
  "rgb": {
    "r": 153,
    "g": 138,
    "b": 186
  },
  "hsl": {
    "h": 258.75,
    "s": 25.806,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66399,
    "c": 0.07192,
    "h": 298.8
  },
  "luminance": 0.28494
}

Semantic roles & 50–950 ramp

primary
#998ABA
secondary
#D3D8C7
accent
#A44185
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111013
muted
#807F82

Preview Lab

Preview with #998ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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