#9D98CF#9D98CF

#9D98CF is a light, moderate blue. Relative luminance 0.341; OKLCH L 70.4% C 0.080 H 288.3°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#9D98CF
RGBrgb(157, 152, 207)
HSLhsl(245, 36%, 70%)
HSVhsv(245, 27%, 81%)
CMYKcmyk(24.2%, 26.6%, 0%, 18.8%)
CIE-LABlab(65.06, 13.66, -27.50)
CIE-LCHlch(65.06, 30.70, 296.41°)
OKLaboklab(70.4% 0.0251 -0.0758)
OKLCHoklch(70.4% 0.08 288.3)
XYZxyz(36.3926, 34.1290, 63.6896)
Luminance0.3413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D98CF #CACF98
analogous
#98AECF #9D98CF #B998CF
triadic
#9D98CF #CF9D98 #98CF9D
tetradic
#9D98CF #CF98AE #CACF98 #98CFB9
square
#9D98CF #CF98AE #CACF98 #98CFB9
split-complementary
#9D98CF #CFB998 #AECF98
monochromatic
#534BA1 #756EBC #9D98CF #C5C2E2 #EBEAF5

Accessibility & contrast

On white

2.68
#9D98CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#9D98CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D98CF
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D98CF#FFFFFF#000000##000000
##9D98CF1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9FD1
Deuteranopia (green-blind)
#899DCE
Tritanopia (blue-blind)
#92A1AB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9d98cf;
/* rgb */ color: rgb(157, 152, 207);
/* oklch */ color: oklch(70.4% 0.080 288.3);
Tailwind
colors: {
  custom: {
    50: '#bbb6dd',
    500: '#9d98cf',
    950: '#000000',
  },
}
SCSS
$custom: #9d98cf;
$custom-light: #bbb6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d98cf",
  "rgb": {
    "r": 157,
    "g": 152,
    "b": 207
  },
  "hsl": {
    "h": 245.455,
    "s": 36.424,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70401,
    "c": 0.07984,
    "h": 288.3
  },
  "luminance": 0.3413
}

Semantic roles & 50–950 ramp

primary
#9D98CF
secondary
#E8E9DA
accent
#AF36A4
background
#FBFBFD
surface
#F6F6FB
border
#D0D0D4
text
#121115
muted
#818083

Preview Lab

Preview with #9D98CF

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

Preview Lab → · Contrast checker → · Palette generator →

#9D98CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva