#998FBB#998FBB

#998FBB is a light, moderate violet. Relative luminance 0.300; OKLCH L 67.4% C 0.065 H 295.0°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#998FBB
RGBrgb(153, 143, 187)
HSLhsl(254, 24%, 65%)
HSVhsv(254, 24%, 73%)
CMYKcmyk(18.2%, 23.5%, 0%, 26.7%)
CIE-LABlab(61.66, 12.84, -21.54)
CIE-LCHlch(61.66, 25.08, 300.79°)
OKLaboklab(67.44% 0.0275 -0.059)
OKLCHoklch(67.44% 0.065 295)
XYZxyz(31.9270, 30.0048, 51.1136)
Luminance0.3000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998FBB #B1BB8F
analogous
#8F9BBB #998FBB #AF8FBB
triadic
#998FBB #BB998F #8FBB99
tetradic
#998FBB #BB8F9B #B1BB8F #8FBBAF
square
#998FBB #BB8F9B #B1BB8F #8FBBAF
split-complementary
#998FBB #BBAF8F #9BBB8F
monochromatic
#5A4E81 #7669A4 #998FBB #BCB5D2 #DEDBE9

Accessibility & contrast

On white

3.00
#998FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#998FBB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998FBB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998FBB#FFFFFF#000000##000000
##998FBB1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8595BD
Deuteranopia (green-blind)
#8694BA
Tritanopia (blue-blind)
#93969E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #998fbb;
/* rgb */ color: rgb(153, 143, 187);
/* oklch */ color: oklch(67.4% 0.065 295.0);
Tailwind
colors: {
  custom: {
    50: '#b7afcf',
    500: '#998fbb',
    950: '#000000',
  },
}
SCSS
$custom: #998fbb;
$custom-light: #b7afcf;
$custom-dark: #000000;
JSON
{
  "hex": "#998fbb",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 187
  },
  "hsl": {
    "h": 253.636,
    "s": 24.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67436,
    "c": 0.06507,
    "h": 295
  },
  "luminance": 0.30005
}

Semantic roles & 50–950 ramp

primary
#998FBB
secondary
#D7DACB
accent
#A3438D
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111013
muted
#807F82

Preview Lab

Preview with #998FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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