#998DCD#998DCD

#998DCD is a light, moderate violet. Relative luminance 0.302; OKLCH L 67.8% C 0.094 H 292.3°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#998DCD
RGBrgb(153, 141, 205)
HSLhsl(251, 39%, 68%)
HSVhsv(251, 31%, 80%)
CMYKcmyk(25.4%, 31.2%, 0%, 19.6%)
CIE-LABlab(61.85, 18.25, -31.37)
CIE-LCHlch(61.85, 36.29, 300.18°)
OKLaboklab(67.82% 0.0356 -0.0869)
OKLCHoklch(67.82% 0.094 292.3)
XYZxyz(33.6785, 30.2294, 61.8063)
Luminance0.3023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998DCD #C1CD8D
analogous
#8DA1CD #998DCD #B98DCD
triadic
#998DCD #CD998D #8DCD99
tetradic
#998DCD #CD8DA1 #C1CD8D #8DCDB9
square
#998DCD #CD8DA1 #C1CD8D #8DCDB9
split-complementary
#998DCD #CDB98D #A1CD8D
monochromatic
#55449B #7362BA #998DCD #BFB8E0 #E5E2F2

Accessibility & contrast

On white

2.98
#998DCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#998DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998DCD
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998DCD#FFFFFF#000000##000000
##998DCD1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D96D0
Deuteranopia (green-blind)
#7E94CB
Tritanopia (blue-blind)
#8E98A4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #998dcd;
/* rgb */ color: rgb(153, 141, 205);
/* oklch */ color: oklch(67.8% 0.094 292.3);
Tailwind
colors: {
  custom: {
    50: '#b8aedc',
    500: '#998dcd',
    950: '#000000',
  },
}
SCSS
$custom: #998dcd;
$custom-light: #b8aedc;
$custom-dark: #000000;
JSON
{
  "hex": "#998dcd",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 205
  },
  "hsl": {
    "h": 251.25,
    "s": 39.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67817,
    "c": 0.0939,
    "h": 292.3
  },
  "luminance": 0.3023
}

Semantic roles & 50–950 ramp

primary
#998DCD
secondary
#E1E5D1
accent
#B2339A
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #998DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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