#998CC2#998CC2

#998CC2 is a light, moderate violet. Relative luminance 0.294; OKLCH L 67.1% C 0.080 H 295.2°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#998CC2
RGBrgb(153, 140, 194)
HSLhsl(254, 31%, 65%)
HSVhsv(254, 28%, 76%)
CMYKcmyk(21.1%, 27.8%, 0%, 23.9%)
CIE-LABlab(61.15, 16.18, -26.27)
CIE-LCHlch(61.15, 30.85, 301.64°)
OKLaboklab(67.13% 0.034 -0.0723)
OKLCHoklch(67.13% 0.08 295.2)
XYZxyz(32.2504, 29.4232, 55.0087)
Luminance0.2942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998CC2 #B5C28C
analogous
#8C9AC2 #998CC2 #B48CC2
triadic
#998CC2 #C2998C #8CC299
tetradic
#998CC2 #C28C9A #B5C28C #8CC2B4
square
#998CC2 #C28C9A #B5C28C #8CC2B4
split-complementary
#998CC2 #C2B48C #9AC28C
monochromatic
#59498A #7664AD #998CC2 #BCB4D7 #E0DCEC

Accessibility & contrast

On white

3.05
#998CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#998CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998CC2
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998CC2#FFFFFF#000000##000000
##998CC21.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F94C4
Deuteranopia (green-blind)
#8193C0
Tritanopia (blue-blind)
#91959F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #998cc2;
/* rgb */ color: rgb(153, 140, 194);
/* oklch */ color: oklch(67.1% 0.080 295.2);
Tailwind
colors: {
  custom: {
    50: '#b7add4',
    500: '#998cc2',
    950: '#000000',
  },
}
SCSS
$custom: #998cc2;
$custom-light: #b7add4;
$custom-dark: #000000;
JSON
{
  "hex": "#998cc2",
  "rgb": {
    "r": 153,
    "g": 140,
    "b": 194
  },
  "hsl": {
    "h": 254.444,
    "s": 30.682,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67134,
    "c": 0.07991,
    "h": 295.2
  },
  "luminance": 0.29424
}

Semantic roles & 50–950 ramp

primary
#998CC2
secondary
#DADECC
accent
#A93C8F
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83

Preview Lab

Preview with #998CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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