#998BDB#998BDB

#998BDB is a light, moderate violet. Relative luminance 0.304; OKLCH L 68.1% C 0.117 H 291.0°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#998BDB
RGBrgb(153, 139, 219)
HSLhsl(251, 53%, 70%)
HSVhsv(251, 37%, 86%)
CMYKcmyk(30.1%, 36.5%, 0%, 14.1%)
CIE-LABlab(61.96, 22.88, -39.03)
CIE-LCHlch(61.96, 45.25, 300.38°)
OKLaboklab(68.1% 0.0418 -0.1089)
OKLCHoklch(68.1% 0.117 291)
XYZxyz(35.1524, 30.3513, 71.0104)
Luminance0.3035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998BDB #CDDB8B
analogous
#8BA5DB #998BDB #C18BDB
triadic
#998BDB #DB998B #8BDB99
tetradic
#998BDB #DB8BA5 #CDDB8B #8BDBC1
square
#998BDB #DB8BA5 #CDDB8B #8BDBC1
split-complementary
#998BDB #DBC18B #A5DB8B
monochromatic
#4D38B4 #705CCD #998BDB #C2BAE9 #EAE8F8

Accessibility & contrast

On white

2.97
#998BDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#998BDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998BDB
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998BDB#FFFFFF#000000##000000
##998BDB1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7497DE
Deuteranopia (green-blind)
#7594D9
Tritanopia (blue-blind)
#8A99A9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #998bdb;
/* rgb */ color: rgb(153, 139, 219);
/* oklch */ color: oklch(68.1% 0.117 291.0);
Tailwind
colors: {
  custom: {
    50: '#b9ade6',
    500: '#998bdb',
    950: '#000000',
  },
}
SCSS
$custom: #998bdb;
$custom-light: #b9ade6;
$custom-dark: #000000;
JSON
{
  "hex": "#998bdb",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 219
  },
  "hsl": {
    "h": 250.5,
    "s": 52.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68097,
    "c": 0.11667,
    "h": 291
  },
  "luminance": 0.30352
}

Semantic roles & 50–950 ramp

primary
#998BDB
secondary
#E8ECD6
accent
#C025A5
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #998BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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