#9898FF#9898FF

#9898FF is a light, vivid blue. Relative luminance 0.364; OKLCH L 72.3% C 0.148 H 282.1°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#9898FF
RGBrgb(152, 152, 255)
HSLhsl(240, 100%, 80%)
HSVhsv(240, 40%, 100%)
CMYKcmyk(40.4%, 40.4%, 0%, 0%)
CIE-LABlab(66.79, 24.67, -51.27)
CIE-LCHlch(66.79, 56.89, 295.70°)
OKLaboklab(72.32% 0.0309 -0.1445)
OKLCHoklch(72.32% 0.148 282.1)
XYZxyz(42.2219, 36.3502, 99.3800)
Luminance0.3635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9898FF #FFFF98
analogous
#98CCFF #9898FF #CC98FF
triadic
#9898FF #FF9898 #98FF98
tetradic
#9898FF #FF98CC #FFFF98 #98FFCC
square
#9898FF #FF98CC #FFFF98 #98FFCC
split-complementary
#9898FF #FFCC98 #CCFF98
monochromatic
#1E1EFF #5B5BFF #9898FF #D5D5FF #E0E0FF

Accessibility & contrast

On white

2.54
#9898FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#9898FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9898FF
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9898FF#FFFFFF#000000##000000
##9898FF1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A6FF
Deuteranopia (green-blind)
#6F9FFD
Tritanopia (blue-blind)
#79ADBF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9898ff;
/* rgb */ color: rgb(152, 152, 255);
/* oklch */ color: oklch(72.3% 0.148 282.1);
Tailwind
colors: {
  custom: {
    50: '#bab6ff',
    500: '#9898ff',
    950: '#000000',
  },
}
SCSS
$custom: #9898ff;
$custom-light: #bab6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9898ff",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 240,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.72319,
    "c": 0.14773,
    "h": 282.1
  },
  "luminance": 0.36352
}

Semantic roles & 50–950 ramp

primary
#9898FF
secondary
#F7F7D4
accent
#E600E5
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121118
muted
#818086

Preview Lab

Preview with #9898FF

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

Preview Lab → · Contrast checker → · Palette generator →

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