#998BCB#998BCB

#998BCB is a light, moderate violet. Relative luminance 0.295; OKLCH L 67.3% C 0.094 H 293.8°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#998BCB
RGBrgb(153, 139, 203)
HSLhsl(253, 38%, 67%)
HSVhsv(253, 32%, 80%)
CMYKcmyk(24.6%, 31.5%, 0%, 20.4%)
CIE-LABlab(61.26, 18.91, -31.16)
CIE-LCHlch(61.26, 36.45, 301.25°)
OKLaboklab(67.34% 0.038 -0.0863)
OKLCHoklch(67.34% 0.094 293.8)
XYZxyz(33.1464, 29.5489, 60.4455)
Luminance0.2955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998BCB #BDCB8B
analogous
#8B9DCB #998BCB #B98BCB
triadic
#998BCB #CB998B #8BCB99
tetradic
#998BCB #CB8B9D #BDCB8B #8BCBB9
square
#998BCB #CB8B9D #BDCB8B #8BCBB9
split-complementary
#998BCB #CBB98B #9DCB8B
monochromatic
#564498 #7461B8 #998BCB #BEB5DE #E3E0F1

Accessibility & contrast

On white

3.04
#998BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#998BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998BCB
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998BCB#FFFFFF#000000##000000
##998BCB1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B95CE
Deuteranopia (green-blind)
#7C93C9
Tritanopia (blue-blind)
#8F96A2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #998bcb;
/* rgb */ color: rgb(153, 139, 203);
/* oklch */ color: oklch(67.3% 0.094 293.8);
Tailwind
colors: {
  custom: {
    50: '#b8addb',
    500: '#998bcb',
    950: '#000000',
  },
}
SCSS
$custom: #998bcb;
$custom-light: #b8addb;
$custom-dark: #000000;
JSON
{
  "hex": "#998bcb",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 203
  },
  "hsl": {
    "h": 253.125,
    "s": 38.095,
    "l": 67.059
  },
  "oklch": {
    "l": 0.67338,
    "c": 0.09424,
    "h": 293.8
  },
  "luminance": 0.29549
}

Semantic roles & 50–950 ramp

primary
#998BCB
secondary
#DFE3CF
accent
#B13496
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #998BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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