#998CD2#998CD2

#998CD2 is a light, moderate violet. Relative luminance 0.302; OKLCH L 67.9% C 0.103 H 292.0°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#998CD2
RGBrgb(153, 140, 210)
HSLhsl(251, 44%, 69%)
HSVhsv(251, 33%, 82%)
CMYKcmyk(27.1%, 33.3%, 0%, 17.6%)
CIE-LABlab(61.81, 20.05, -34.24)
CIE-LCHlch(61.81, 39.68, 300.36°)
OKLaboklab(67.86% 0.0383 -0.0951)
OKLCHoklch(67.86% 0.103 292)
XYZxyz(34.1450, 30.1811, 64.9869)
Luminance0.3018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998CD2 #C5D28C
analogous
#8CA2D2 #998CD2 #BC8CD2
triadic
#998CD2 #D2998C #8CD299
tetradic
#998CD2 #D28CA2 #C5D28C #8CD2BC
square
#998CD2 #D28CA2 #C5D28C #8CD2BC
split-complementary
#998CD2 #D2BC8C #A2D28C
monochromatic
#5340A4 #7260C1 #998CD2 #C0B8E3 #E7E4F4

Accessibility & contrast

On white

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

On black

7.04
#998CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998CD2
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998CD2#FFFFFF#000000##000000
##998CD21.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7996D5
Deuteranopia (green-blind)
#7A94D0
Tritanopia (blue-blind)
#8D98A5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #998cd2;
/* rgb */ color: rgb(153, 140, 210);
/* oklch */ color: oklch(67.9% 0.103 292.0);
Tailwind
colors: {
  custom: {
    50: '#b8ade0',
    500: '#998cd2',
    950: '#000000',
  },
}
SCSS
$custom: #998cd2;
$custom-light: #b8ade0;
$custom-dark: #000000;
JSON
{
  "hex": "#998cd2",
  "rgb": {
    "r": 153,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 251.143,
    "s": 43.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67855,
    "c": 0.10252,
    "h": 292
  },
  "luminance": 0.30182
}

Semantic roles & 50–950 ramp

primary
#998CD2
secondary
#E3E7D2
accent
#B72F9E
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #998CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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