#998EBA#998EBA

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

Color values

HEX#998EBA
RGBrgb(153, 142, 186)
HSLhsl(255, 24%, 64%)
HSVhsv(255, 24%, 73%)
CMYKcmyk(17.7%, 23.7%, 0%, 27.1%)
CIE-LABlab(61.36, 13.18, -21.43)
CIE-LCHlch(61.36, 25.16, 301.59°)
OKLaboklab(67.2% 0.0287 -0.0586)
OKLCHoklch(67.2% 0.065 296.1)
XYZxyz(31.6709, 29.6633, 50.5019)
Luminance0.2966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998EBA #AFBA8E
analogous
#8E99BA #998EBA #AF8EBA
triadic
#998EBA #BA998E #8EBA99
tetradic
#998EBA #BA8E99 #AFBA8E #8EBAAF
square
#998EBA #BA8E99 #AFBA8E #8EBAAF
split-complementary
#998EBA #BAAF8E #99BA8E
monochromatic
#5A4E80 #7768A3 #998EBA #BBB4D1 #DEDAE8

Accessibility & contrast

On white

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

On black

6.93
#998EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998EBA
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998EBA#FFFFFF#000000##000000
##998EBA1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8494BC
Deuteranopia (green-blind)
#8694B9
Tritanopia (blue-blind)
#93959D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #998eba;
/* rgb */ color: rgb(153, 142, 186);
/* oklch */ color: oklch(67.2% 0.065 296.1);
Tailwind
colors: {
  custom: {
    50: '#b7afce',
    500: '#998eba',
    950: '#000000',
  },
}
SCSS
$custom: #998eba;
$custom-light: #b7afce;
$custom-dark: #000000;
JSON
{
  "hex": "#998eba",
  "rgb": {
    "r": 153,
    "g": 142,
    "b": 186
  },
  "hsl": {
    "h": 255,
    "s": 24.176,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67195,
    "c": 0.06527,
    "h": 296.1
  },
  "luminance": 0.29663
}

Semantic roles & 50–950 ramp

primary
#998EBA
secondary
#D6DACA
accent
#A3438B
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111013
muted
#807F82

Preview Lab

Preview with #998EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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