#9898F3#9898F3

#9898F3 is a light, vivid blue. Relative luminance 0.356; OKLCH L 71.7% C 0.131 H 282.6°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#9898F3
RGBrgb(152, 152, 243)
HSLhsl(240, 79%, 77%)
HSVhsv(240, 37%, 95%)
CMYKcmyk(37.4%, 37.4%, 0%, 4.7%)
CIE-LABlab(66.21, 21.41, -45.62)
CIE-LCHlch(66.21, 50.39, 295.15°)
OKLaboklab(71.69% 0.0286 -0.128)
OKLCHoklch(71.69% 0.131 282.6)
XYZxyz(40.3502, 35.6015, 89.5224)
Luminance0.3560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9898F3 #F3F398
analogous
#98C6F3 #9898F3 #C698F3
triadic
#9898F3 #F39898 #98F398
tetradic
#9898F3 #F398C6 #F3F398 #98F3C6
square
#9898F3 #F398C6 #F3F398 #98F3C6
split-complementary
#9898F3 #F3C698 #C6F398
monochromatic
#2A2AE6 #6161ED #9898F3 #CFCFF9 #E4E4FC

Accessibility & contrast

On white

2.59
#9898F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#9898F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9898F3
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9898F3#FFFFFF#000000##000000
##9898F31.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA4F7
Deuteranopia (green-blind)
#769EF1
Tritanopia (blue-blind)
#7EAABA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9898f3;
/* rgb */ color: rgb(152, 152, 243);
/* oklch */ color: oklch(71.7% 0.131 282.6);
Tailwind
colors: {
  custom: {
    50: '#b9b6f7',
    500: '#9898f3',
    950: '#000000',
  },
}
SCSS
$custom: #9898f3;
$custom-light: #b9b6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9898f3",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 243
  },
  "hsl": {
    "h": 240,
    "s": 79.13,
    "l": 77.451
  },
  "oklch": {
    "l": 0.71694,
    "c": 0.13117,
    "h": 282.6
  },
  "luminance": 0.35603
}

Semantic roles & 50–950 ramp

primary
#9898F3
secondary
#F4F4D7
accent
#DB0ADB
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #9898F3

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

Preview Lab → · Contrast checker → · Palette generator →

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