#98A2FA#98A2FA

#98A2FA is a light, vivid blue. Relative luminance 0.394; OKLCH L 74.0% C 0.127 H 277.9°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#98A2FA
RGBrgb(152, 162, 250)
HSLhsl(234, 91%, 79%)
HSVhsv(234, 39%, 98%)
CMYKcmyk(39.2%, 35.2%, 0%, 2%)
CIE-LABlab(69.05, 17.59, -44.98)
CIE-LCHlch(69.05, 48.29, 291.36°)
OKLaboklab(73.98% 0.0174 -0.1262)
OKLCHoklch(73.98% 0.127 277.9)
XYZxyz(43.1195, 39.4164, 95.7601)
Luminance0.3942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A2FA #FAF098
analogous
#98D3FA #98A2FA #BF98FA
triadic
#98A2FA #FA98A2 #A2FA98
tetradic
#98A2FA #FA98D3 #FAF098 #98FABF
square
#98A2FA #FA98D3 #FAF098 #98FABF
split-complementary
#98A2FA #FABF98 #D3FA98
monochromatic
#2339F4 #5E6DF7 #98A2FA #D2D7FD #E2E5FE

Accessibility & contrast

On white

2.36
#98A2FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#98A2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A2FA
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A2FA#FFFFFF#000000##000000
##98A2FA1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ACFE
Deuteranopia (green-blind)
#7EA5F8
Tritanopia (blue-blind)
#7AB3C2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #98a2fa;
/* rgb */ color: rgb(152, 162, 250);
/* oklch */ color: oklch(74.0% 0.127 277.9);
Tailwind
colors: {
  custom: {
    50: '#babdfc',
    500: '#98a2fa',
    950: '#000000',
  },
}
SCSS
$custom: #98a2fa;
$custom-light: #babdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#98a2fa",
  "rgb": {
    "r": 152,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 233.878,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.73977,
    "c": 0.12735,
    "h": 277.9
  },
  "luminance": 0.39418
}

Semantic roles & 50–950 ramp

primary
#98A2FA
secondary
#F6F2D5
accent
#CE00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121217
muted
#818185

Preview Lab

Preview with #98A2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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