#998EBB#998EBB

#998EBB is a light, moderate violet. Relative luminance 0.297; OKLCH L 67.2% C 0.067 H 295.8°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#998EBB
RGBrgb(153, 142, 187)
HSLhsl(255, 25%, 65%)
HSVhsv(255, 24%, 73%)
CMYKcmyk(18.2%, 24.1%, 0%, 26.7%)
CIE-LABlab(61.40, 13.41, -21.94)
CIE-LCHlch(61.40, 25.71, 301.43°)
OKLaboklab(67.24% 0.029 -0.0601)
OKLCHoklch(67.24% 0.067 295.8)
XYZxyz(31.7776, 29.7059, 51.0637)
Luminance0.2971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998EBB #B0BB8E
analogous
#8E9ABB #998EBB #B08EBB
triadic
#998EBB #BB998E #8EBB99
tetradic
#998EBB #BB8E9A #B0BB8E #8EBBB0
square
#998EBB #BB8E9A #B0BB8E #8EBBB0
split-complementary
#998EBB #BBB08E #9ABB8E
monochromatic
#5A4E81 #7768A4 #998EBB #BBB4D2 #DEDAE9

Accessibility & contrast

On white

3.03
#998EBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#998EBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998EBB
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998EBB#FFFFFF#000000##000000
##998EBB1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8495BD
Deuteranopia (green-blind)
#8694BA
Tritanopia (blue-blind)
#93959E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #998ebb;
/* rgb */ color: rgb(153, 142, 187);
/* oklch */ color: oklch(67.2% 0.067 295.8);
Tailwind
colors: {
  custom: {
    50: '#b7afcf',
    500: '#998ebb',
    950: '#000000',
  },
}
SCSS
$custom: #998ebb;
$custom-light: #b7afcf;
$custom-dark: #000000;
JSON
{
  "hex": "#998ebb",
  "rgb": {
    "r": 153,
    "g": 142,
    "b": 187
  },
  "hsl": {
    "h": 254.667,
    "s": 24.862,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67236,
    "c": 0.06669,
    "h": 295.8
  },
  "luminance": 0.29706
}

Semantic roles & 50–950 ramp

primary
#998EBB
secondary
#D6DACB
accent
#A3428C
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111013
muted
#807F82

Preview Lab

Preview with #998EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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