#998FBA#998FBA

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

Color values

HEX#998FBA
RGBrgb(153, 143, 186)
HSLhsl(254, 24%, 65%)
HSVhsv(254, 23%, 73%)
CMYKcmyk(17.7%, 23.1%, 0%, 27.1%)
CIE-LABlab(61.62, 12.61, -21.04)
CIE-LCHlch(61.62, 24.52, 300.94°)
OKLaboklab(67.4% 0.0272 -0.0575)
OKLCHoklch(67.4% 0.064 295.3)
XYZxyz(31.8203, 29.9622, 50.5517)
Luminance0.2996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998FBA #B0BA8F
analogous
#8F9BBA #998FBA #AF8FBA
triadic
#998FBA #BA998F #8FBA99
tetradic
#998FBA #BA8F9B #B0BA8F #8FBAAF
square
#998FBA #BA8F9B #B0BA8F #8FBAAF
split-complementary
#998FBA #BAAF8F #9BBA8F
monochromatic
#5A4F80 #7769A3 #998FBA #BBB5D1 #DEDBE9

Accessibility & contrast

On white

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

On black

6.99
#998FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998FBA
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998FBA#FFFFFF#000000##000000
##998FBA1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8695BC
Deuteranopia (green-blind)
#8794B9
Tritanopia (blue-blind)
#93969E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #998fba;
/* rgb */ color: rgb(153, 143, 186);
/* oklch */ color: oklch(67.4% 0.064 295.3);
Tailwind
colors: {
  custom: {
    50: '#b7afce',
    500: '#998fba',
    950: '#000000',
  },
}
SCSS
$custom: #998fba;
$custom-light: #b7afce;
$custom-dark: #000000;
JSON
{
  "hex": "#998fba",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 186
  },
  "hsl": {
    "h": 253.953,
    "s": 23.757,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67395,
    "c": 0.06364,
    "h": 295.3
  },
  "luminance": 0.29962
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #998FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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