#98A2FF#98A2FF

#98A2FF is a light, vivid blue. Relative luminance 0.397; OKLCH L 74.2% C 0.134 H 277.9°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#98A2FF
RGBrgb(152, 162, 255)
HSLhsl(234, 100%, 80%)
HSVhsv(234, 40%, 100%)
CMYKcmyk(40.4%, 36.5%, 0%, 0%)
CIE-LABlab(69.28, 18.95, -47.34)
CIE-LCHlch(69.28, 50.99, 291.82°)
OKLaboklab(74.23% 0.0185 -0.133)
OKLCHoklch(74.23% 0.134 277.9)
XYZxyz(43.9139, 39.7341, 99.9440)
Luminance0.3974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A2FF #FFF598
analogous
#98D5FF #98A2FF #C298FF
triadic
#98A2FF #FF98A2 #A2FF98
tetradic
#98A2FF #FF98D5 #FFF598 #98FFC2
square
#98A2FF #FF98D5 #FFF598 #98FFC2
split-complementary
#98A2FF #FFC298 #D5FF98
monochromatic
#1E33FF #5B6BFF #98A2FF #D5D9FF #E0E3FF

Accessibility & contrast

On white

2.35
#98A2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#98A2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A2FF
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A2FF#FFFFFF#000000##000000
##98A2FF1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ADFF
Deuteranopia (green-blind)
#7BA5FD
Tritanopia (blue-blind)
#78B5C5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #98a2ff;
/* rgb */ color: rgb(152, 162, 255);
/* oklch */ color: oklch(74.2% 0.134 277.9);
Tailwind
colors: {
  custom: {
    50: '#babdff',
    500: '#98a2ff',
    950: '#000000',
  },
}
SCSS
$custom: #98a2ff;
$custom-light: #babdff;
$custom-dark: #000000;
JSON
{
  "hex": "#98a2ff",
  "rgb": {
    "r": 152,
    "g": 162,
    "b": 255
  },
  "hsl": {
    "h": 234.175,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.74227,
    "c": 0.13427,
    "h": 277.9
  },
  "luminance": 0.39736
}

Semantic roles & 50–950 ramp

primary
#98A2FF
secondary
#F7F4D4
accent
#CF00E6
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121218
muted
#818186

Preview Lab

Preview with #98A2FF

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

Preview Lab → · Contrast checker → · Palette generator →

#98A2FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva