#9898EA#9898EA

#9898EA is a light, moderate blue. Relative luminance 0.351; OKLCH L 71.2% C 0.119 H 283.0°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#9898EA
RGBrgb(152, 152, 234)
HSLhsl(240, 66%, 76%)
HSVhsv(240, 35%, 92%)
CMYKcmyk(35%, 35%, 0%, 8.2%)
CIE-LABlab(65.80, 19.02, -41.32)
CIE-LCHlch(65.80, 45.49, 294.72°)
OKLaboklab(71.25% 0.0266 -0.1156)
OKLCHoklch(71.25% 0.119 283)
XYZxyz(39.0243, 35.0711, 82.5392)
Luminance0.3507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9898EA #EAEA98
analogous
#98C1EA #9898EA #C198EA
triadic
#9898EA #EA9898 #98EA98
tetradic
#9898EA #EA98C1 #EAEA98 #98EAC1
square
#9898EA #EA98C1 #EAEA98 #98EAC1
split-complementary
#9898EA #EAC198 #C1EA98
monochromatic
#3232D5 #6565E0 #9898EA #CBCBF4 #E6E6FA

Accessibility & contrast

On white

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

On black

8.01
#9898EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9898EA
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9898EA#FFFFFF#000000##000000
##9898EA1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA3ED
Deuteranopia (green-blind)
#7B9DE8
Tritanopia (blue-blind)
#82A8B6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9898ea;
/* rgb */ color: rgb(152, 152, 234);
/* oklch */ color: oklch(71.2% 0.119 283.0);
Tailwind
colors: {
  custom: {
    50: '#b9b6f1',
    500: '#9898ea',
    950: '#000000',
  },
}
SCSS
$custom: #9898ea;
$custom-light: #b9b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9898ea",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 240,
    "s": 66.129,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71245,
    "c": 0.11859,
    "h": 283
  },
  "luminance": 0.35072
}

Semantic roles & 50–950 ramp

primary
#9898EA
secondary
#F1F1DA
accent
#CE18CE
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #9898EA

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

Preview Lab → · Contrast checker → · Palette generator →

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