#9898F2#9898F2

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

Color values

HEX#9898F2
RGBrgb(152, 152, 242)
HSLhsl(240, 78%, 77%)
HSVhsv(240, 37%, 95%)
CMYKcmyk(37.2%, 37.2%, 0%, 5.1%)
CIE-LABlab(66.17, 21.14, -45.14)
CIE-LCHlch(66.17, 49.85, 295.10°)
OKLaboklab(71.64% 0.0284 -0.1266)
OKLCHoklch(71.64% 0.13 282.6)
XYZxyz(40.1996, 35.5412, 88.7293)
Luminance0.3554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9898F2 #F2F298
analogous
#98C5F2 #9898F2 #C598F2
triadic
#9898F2 #F29898 #98F298
tetradic
#9898F2 #F298C5 #F2F298 #98F2C5
square
#9898F2 #F298C5 #F2F298 #98F2C5
split-complementary
#9898F2 #F2C598 #C5F298
monochromatic
#2B2BE4 #6262EB #9898F2 #CECEF9 #E4E4FC

Accessibility & contrast

On white

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

On black

8.11
#9898F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9898F2
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9898F2#FFFFFF#000000##000000
##9898F21.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA4F6
Deuteranopia (green-blind)
#779EF0
Tritanopia (blue-blind)
#7FA9BA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9898f2;
/* rgb */ color: rgb(152, 152, 242);
/* oklch */ color: oklch(71.6% 0.130 282.6);
Tailwind
colors: {
  custom: {
    50: '#b9b6f7',
    500: '#9898f2',
    950: '#000000',
  },
}
SCSS
$custom: #9898f2;
$custom-light: #b9b6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9898f2",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 242
  },
  "hsl": {
    "h": 240,
    "s": 77.586,
    "l": 77.255
  },
  "oklch": {
    "l": 0.71644,
    "c": 0.12978,
    "h": 282.6
  },
  "luminance": 0.35543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9898F2

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

Preview Lab → · Contrast checker → · Palette generator →

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