#9898DA#9898DA

#9898DA is a light, moderate blue. Relative luminance 0.342; OKLCH L 70.5% C 0.096 H 283.7°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#9898DA
RGBrgb(152, 152, 218)
HSLhsl(240, 47%, 73%)
HSVhsv(240, 30%, 85%)
CMYKcmyk(30.3%, 30.3%, 0%, 14.5%)
CIE-LABlab(65.12, 14.88, -33.56)
CIE-LCHlch(65.12, 36.71, 293.92°)
OKLaboklab(70.49% 0.0227 -0.0932)
OKLCHoklch(70.49% 0.096 283.7)
XYZxyz(36.8287, 34.1929, 70.9756)
Luminance0.3419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9898DA #DADA98
analogous
#98B9DA #9898DA #B998DA
triadic
#9898DA #DA9898 #98DA98
tetradic
#9898DA #DA98B9 #DADA98 #98DAB9
square
#9898DA #DA98B9 #DADA98 #98DAB9
split-complementary
#9898DA #DAB998 #B9DA98
monochromatic
#4141B6 #6B6BCA #9898DA #C5C5EA #E8E8F7

Accessibility & contrast

On white

2.68
#9898DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#9898DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9898DA
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9898DA#FFFFFF#000000##000000
##9898DA1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A0DD
Deuteranopia (green-blind)
#839CD8
Tritanopia (blue-blind)
#88A4B0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9898da;
/* rgb */ color: rgb(152, 152, 218);
/* oklch */ color: oklch(70.5% 0.096 283.7);
Tailwind
colors: {
  custom: {
    50: '#b8b6e5',
    500: '#9898da',
    950: '#000000',
  },
}
SCSS
$custom: #9898da;
$custom-light: #b8b6e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9898da",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 218
  },
  "hsl": {
    "h": 240,
    "s": 47.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70489,
    "c": 0.09591,
    "h": 283.7
  },
  "luminance": 0.34194
}

Semantic roles & 50–950 ramp

primary
#9898DA
secondary
#EEEEDD
accent
#BA2BBA
background
#FBFBFE
surface
#F6F6FC
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #9898DA

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

Preview Lab → · Contrast checker → · Palette generator →

#9898DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva