#998BB2#998BB2

#998BB2 is a light, muted violet. Relative luminance 0.285; OKLCH L 66.3% C 0.059 H 301.2°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#998BB2
RGBrgb(153, 139, 178)
HSLhsl(262, 20%, 62%)
HSVhsv(262, 22%, 70%)
CMYKcmyk(14%, 21.9%, 0%, 30.2%)
CIE-LABlab(60.29, 13.10, -18.53)
CIE-LCHlch(60.29, 22.69, 305.25°)
OKLaboklab(66.27% 0.0306 -0.0505)
OKLCHoklch(66.27% 0.059 301.2)
XYZxyz(30.4038, 28.4519, 46.0009)
Luminance0.2845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998BB2 #A4B28B
analogous
#8B91B2 #998BB2 #AC8BB2
triadic
#998BB2 #B2998B #8BB299
tetradic
#998BB2 #B28B91 #A4B28B #8BB2AC
square
#998BB2 #B28B91 #A4B28B #8BB2AC
split-complementary
#998BB2 #B2AC8B #91B28B
monochromatic
#5C4E75 #79669A #998BB2 #B9B0CA #DAD5E3

Accessibility & contrast

On white

3.14
#998BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#998BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998BB2
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998BB2#FFFFFF#000000##000000
##998BB21.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8491B4
Deuteranopia (green-blind)
#8691B1
Tritanopia (blue-blind)
#959198
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #998bb2;
/* rgb */ color: rgb(153, 139, 178);
/* oklch */ color: oklch(66.3% 0.059 301.2);
Tailwind
colors: {
  custom: {
    50: '#b7acc9',
    500: '#998bb2',
    950: '#000000',
  },
}
SCSS
$custom: #998bb2;
$custom-light: #b7acc9;
$custom-dark: #000000;
JSON
{
  "hex": "#998bb2",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 178
  },
  "hsl": {
    "h": 261.538,
    "s": 20.207,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66272,
    "c": 0.05901,
    "h": 301.2
  },
  "luminance": 0.28452
}

Semantic roles & 50–950 ramp

primary
#998BB2
secondary
#CED4C5
accent
#9F477F
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82

Preview Lab

Preview with #998BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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