#9898FA#9898FA

#9898FA is a light, vivid blue. Relative luminance 0.360; OKLCH L 72.1% C 0.141 H 282.3°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#9898FA
RGBrgb(152, 152, 250)
HSLhsl(240, 91%, 79%)
HSVhsv(240, 39%, 98%)
CMYKcmyk(39.2%, 39.2%, 0%, 2%)
CIE-LABlab(66.54, 23.30, -48.92)
CIE-LCHlch(66.54, 54.19, 295.47°)
OKLaboklab(72.06% 0.03 -0.1376)
OKLCHoklch(72.06% 0.141 282.3)
XYZxyz(41.4275, 36.0324, 95.1961)
Luminance0.3603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9898FA #FAFA98
analogous
#98C9FA #9898FA #C998FA
triadic
#9898FA #FA9898 #98FA98
tetradic
#9898FA #FA98C9 #FAFA98 #98FAC9
square
#9898FA #FA98C9 #FAFA98 #98FAC9
split-complementary
#9898FA #FAC998 #C9FA98
monochromatic
#2323F4 #5E5EF7 #9898FA #D2D2FD #E2E2FE

Accessibility & contrast

On white

2.56
#9898FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#9898FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9898FA
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9898FA#FFFFFF#000000##000000
##9898FA1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A5FE
Deuteranopia (green-blind)
#729FF8
Tritanopia (blue-blind)
#7BABBD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9898fa;
/* rgb */ color: rgb(152, 152, 250);
/* oklch */ color: oklch(72.1% 0.141 282.3);
Tailwind
colors: {
  custom: {
    50: '#bab6fc',
    500: '#9898fa',
    950: '#000000',
  },
}
SCSS
$custom: #9898fa;
$custom-light: #bab6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9898fa",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 240,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.72055,
    "c": 0.14086,
    "h": 282.3
  },
  "luminance": 0.36034
}

Semantic roles & 50–950 ramp

primary
#9898FA
secondary
#F6F6D5
accent
#E600E5
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #9898FA

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

Preview Lab → · Contrast checker → · Palette generator →

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