#998FC2#998FC2

#998FC2 is a light, moderate violet. Relative luminance 0.303; OKLCH L 67.7% C 0.075 H 293.3°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#998FC2
RGBrgb(153, 143, 194)
HSLhsl(252, 29%, 66%)
HSVhsv(252, 26%, 76%)
CMYKcmyk(21.1%, 26.3%, 0%, 23.9%)
CIE-LABlab(61.92, 14.46, -25.08)
CIE-LCHlch(61.92, 28.95, 299.97°)
OKLaboklab(67.73% 0.0297 -0.069)
OKLCHoklch(67.73% 0.075 293.3)
XYZxyz(32.6947, 30.3119, 55.1568)
Luminance0.3031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998FC2 #B8C28F
analogous
#8F9EC2 #998FC2 #B28FC2
triadic
#998FC2 #C2998F #8FC299
tetradic
#998FC2 #C28F9E #B8C28F #8FC2B2
square
#998FC2 #C28F9E #B8C28F #8FC2B2
split-complementary
#998FC2 #C2B28F #9EC28F
monochromatic
#584C8B #7567AC #998FC2 #BDB7D8 #E1DEED

Accessibility & contrast

On white

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

On black

7.06
#998FC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998FC2
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998FC2#FFFFFF#000000##000000
##998FC21.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8396C4
Deuteranopia (green-blind)
#8495C1
Tritanopia (blue-blind)
#9197A1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #998fc2;
/* rgb */ color: rgb(153, 143, 194);
/* oklch */ color: oklch(67.7% 0.075 293.3);
Tailwind
colors: {
  custom: {
    50: '#b7afd4',
    500: '#998fc2',
    950: '#000000',
  },
}
SCSS
$custom: #998fc2;
$custom-light: #b7afd4;
$custom-dark: #000000;
JSON
{
  "hex": "#998fc2",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 194
  },
  "hsl": {
    "h": 251.765,
    "s": 29.48,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67727,
    "c": 0.07507,
    "h": 293.3
  },
  "luminance": 0.30312
}

Semantic roles & 50–950 ramp

primary
#998FC2
secondary
#DBDFCE
accent
#A83D93
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83

Preview Lab

Preview with #998FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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