#9898F1#9898F1

#9898F1 is a light, vivid blue. Relative luminance 0.355; OKLCH L 71.6% C 0.128 H 282.7°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#9898F1
RGBrgb(152, 152, 241)
HSLhsl(240, 76%, 77%)
HSVhsv(240, 37%, 95%)
CMYKcmyk(36.9%, 36.9%, 0%, 5.5%)
CIE-LABlab(66.12, 20.88, -44.67)
CIE-LCHlch(66.12, 49.30, 295.05°)
OKLaboklab(71.59% 0.0282 -0.1253)
OKLCHoklch(71.59% 0.128 282.7)
XYZxyz(40.0498, 35.4813, 87.9404)
Luminance0.3548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9898F1 #F1F198
analogous
#98C5F1 #9898F1 #C598F1
triadic
#9898F1 #F19898 #98F198
tetradic
#9898F1 #F198C5 #F1F198 #98F1C5
square
#9898F1 #F198C5 #F1F198 #98F1C5
split-complementary
#9898F1 #F1C598 #C5F198
monochromatic
#2C2CE2 #6262EA #9898F1 #CECEF8 #E4E4FB

Accessibility & contrast

On white

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

On black

8.10
#9898F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9898F1
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9898F1#FFFFFF#000000##000000
##9898F11.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA4F5
Deuteranopia (green-blind)
#779EEF
Tritanopia (blue-blind)
#7FA9B9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9898f1;
/* rgb */ color: rgb(152, 152, 241);
/* oklch */ color: oklch(71.6% 0.128 282.7);
Tailwind
colors: {
  custom: {
    50: '#b9b6f6',
    500: '#9898f1',
    950: '#000000',
  },
}
SCSS
$custom: #9898f1;
$custom-light: #b9b6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#9898f1",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 241
  },
  "hsl": {
    "h": 240,
    "s": 76.068,
    "l": 77.059
  },
  "oklch": {
    "l": 0.71593,
    "c": 0.12839,
    "h": 282.7
  },
  "luminance": 0.35483
}

Semantic roles & 50–950 ramp

primary
#9898F1
secondary
#F3F3D8
accent
#D80DD8
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#121117
muted
#818085

Preview Lab

Preview with #9898F1

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

Preview Lab → · Contrast checker → · Palette generator →

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