#9898F4#9898F4

#9898F4 is a light, vivid blue. Relative luminance 0.357; OKLCH L 71.7% C 0.133 H 282.5°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#9898F4
RGBrgb(152, 152, 244)
HSLhsl(240, 81%, 78%)
HSVhsv(240, 38%, 96%)
CMYKcmyk(37.7%, 37.7%, 0%, 4.3%)
CIE-LABlab(66.26, 21.68, -46.09)
CIE-LCHlch(66.26, 50.93, 295.19°)
OKLaboklab(71.75% 0.0288 -0.1294)
OKLCHoklch(71.75% 0.133 282.5)
XYZxyz(40.5016, 35.6621, 90.3199)
Luminance0.3566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9898F4 #F4F498
analogous
#98C6F4 #9898F4 #C698F4
triadic
#9898F4 #F49898 #98F498
tetradic
#9898F4 #F498C6 #F4F498 #98F4C6
square
#9898F4 #F498C6 #F4F498 #98F4C6
split-complementary
#9898F4 #F4C698 #C6F498
monochromatic
#2929E8 #6161EE #9898F4 #CFCFFA #E3E3FC

Accessibility & contrast

On white

2.58
#9898F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#9898F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9898F4
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9898F4#FFFFFF#000000##000000
##9898F41.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA4F8
Deuteranopia (green-blind)
#759EF2
Tritanopia (blue-blind)
#7EAABA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9898f4;
/* rgb */ color: rgb(152, 152, 244);
/* oklch */ color: oklch(71.7% 0.133 282.5);
Tailwind
colors: {
  custom: {
    50: '#b9b6f8',
    500: '#9898f4',
    950: '#000000',
  },
}
SCSS
$custom: #9898f4;
$custom-light: #b9b6f8;
$custom-dark: #000000;
JSON
{
  "hex": "#9898f4",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 244
  },
  "hsl": {
    "h": 240,
    "s": 80.702,
    "l": 77.647
  },
  "oklch": {
    "l": 0.71745,
    "c": 0.13255,
    "h": 282.5
  },
  "luminance": 0.35664
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9898F4

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

Preview Lab → · Contrast checker → · Palette generator →

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