#998BBB#998BBB

#998BBB is a light, moderate violet. Relative luminance 0.288; OKLCH L 66.6% C 0.072 H 297.8°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#998BBB
RGBrgb(153, 139, 187)
HSLhsl(258, 26%, 64%)
HSVhsv(258, 26%, 73%)
CMYKcmyk(18.2%, 25.7%, 0%, 26.7%)
CIE-LABlab(60.63, 15.13, -23.12)
CIE-LCHlch(60.63, 27.63, 303.20°)
OKLaboklab(66.64% 0.0334 -0.0634)
OKLCHoklch(66.64% 0.072 297.8)
XYZxyz(31.3372, 28.8252, 50.9170)
Luminance0.2883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998BBB #ADBB8B
analogous
#8B95BB #998BBB #B18BBB
triadic
#998BBB #BB998B #8BBB99
tetradic
#998BBB #BB8B95 #ADBB8B #8BBBB1
square
#998BBB #BB8B95 #ADBB8B #8BBBB1
split-complementary
#998BBB #BBB18B #95BB8B
monochromatic
#5B4B80 #7764A4 #998BBB #BBB2D2 #DDD8E8

Accessibility & contrast

On white

3.10
#998BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#998BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998BBB
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998BBB#FFFFFF#000000##000000
##998BBB1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8192BD
Deuteranopia (green-blind)
#8392BA
Tritanopia (blue-blind)
#93929C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #998bbb;
/* rgb */ color: rgb(153, 139, 187);
/* oklch */ color: oklch(66.6% 0.072 297.8);
Tailwind
colors: {
  custom: {
    50: '#b7adcf',
    500: '#998bbb',
    950: '#000000',
  },
}
SCSS
$custom: #998bbb;
$custom-light: #b7adcf;
$custom-dark: #000000;
JSON
{
  "hex": "#998bbb",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 187
  },
  "hsl": {
    "h": 257.5,
    "s": 26.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66639,
    "c": 0.07165,
    "h": 297.8
  },
  "luminance": 0.28825
}

Semantic roles & 50–950 ramp

primary
#998BBB
secondary
#D4D9C8
accent
#A54188
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111014
muted
#807F82

Preview Lab

Preview with #998BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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