#9898EB#9898EB

#9898EB is a light, moderate blue. Relative luminance 0.351; OKLCH L 71.3% C 0.120 H 282.9°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#9898EB
RGBrgb(152, 152, 235)
HSLhsl(240, 67%, 76%)
HSVhsv(240, 35%, 92%)
CMYKcmyk(35.3%, 35.3%, 0%, 7.8%)
CIE-LABlab(65.85, 19.28, -41.80)
CIE-LCHlch(65.85, 46.03, 294.77°)
OKLaboklab(71.29% 0.0269 -0.1169)
OKLCHoklch(71.29% 0.12 282.9)
XYZxyz(39.1684, 35.1287, 83.2980)
Luminance0.3513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9898EB #EBEB98
analogous
#98C1EB #9898EB #C198EB
triadic
#9898EB #EB9898 #98EB98
tetradic
#9898EB #EB98C1 #EBEB98 #98EBC1
square
#9898EB #EB98C1 #EBEB98 #98EBC1
split-complementary
#9898EB #EBC198 #C1EB98
monochromatic
#3232D7 #6565E1 #9898EB #CBCBF5 #E5E5FA

Accessibility & contrast

On white

2.62
#9898EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#9898EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9898EB
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9898EB#FFFFFF#000000##000000
##9898EB1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA3EE
Deuteranopia (green-blind)
#7A9DE9
Tritanopia (blue-blind)
#82A8B7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9898eb;
/* rgb */ color: rgb(152, 152, 235);
/* oklch */ color: oklch(71.3% 0.120 282.9);
Tailwind
colors: {
  custom: {
    50: '#b9b6f2',
    500: '#9898eb',
    950: '#000000',
  },
}
SCSS
$custom: #9898eb;
$custom-light: #b9b6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9898eb",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 240,
    "s": 67.48,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71294,
    "c": 0.11998,
    "h": 282.9
  },
  "luminance": 0.3513
}

Semantic roles & 50–950 ramp

primary
#9898EB
secondary
#F2F2D9
accent
#CF16CF
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#121117
muted
#818085

Preview Lab

Preview with #9898EB

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

Preview Lab → · Contrast checker → · Palette generator →

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