#98A2FC#98A2FC

#98A2FC is a light, vivid blue. Relative luminance 0.395; OKLCH L 74.1% C 0.130 H 277.9°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#98A2FC
RGBrgb(152, 162, 252)
HSLhsl(234, 94%, 79%)
HSVhsv(234, 40%, 99%)
CMYKcmyk(39.7%, 35.7%, 0%, 1.2%)
CIE-LABlab(69.14, 18.13, -45.92)
CIE-LCHlch(69.14, 49.37, 291.55°)
OKLaboklab(74.08% 0.0179 -0.1289)
OKLCHoklch(74.08% 0.13 277.9)
XYZxyz(43.4347, 39.5425, 97.4205)
Luminance0.3954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A2FC #FCF298
analogous
#98D4FC #98A2FC #C098FC
triadic
#98A2FC #FC98A2 #A2FC98
tetradic
#98A2FC #FC98D4 #FCF298 #98FCC0
square
#98A2FC #FC98D4 #FCF298 #98FCC0
split-complementary
#98A2FC #FCC098 #D4FC98
monochromatic
#2137F9 #5D6CFA #98A2FC #D3D8FE #E1E4FE

Accessibility & contrast

On white

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

On black

8.91
#98A2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A2FC
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A2FC#FFFFFF#000000##000000
##98A2FC1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ADFF
Deuteranopia (green-blind)
#7DA5FA
Tritanopia (blue-blind)
#79B4C3
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #98a2fc;
/* rgb */ color: rgb(152, 162, 252);
/* oklch */ color: oklch(74.1% 0.130 277.9);
Tailwind
colors: {
  custom: {
    50: '#babdfd',
    500: '#98a2fc',
    950: '#000000',
  },
}
SCSS
$custom: #98a2fc;
$custom-light: #babdfd;
$custom-dark: #000000;
JSON
{
  "hex": "#98a2fc",
  "rgb": {
    "r": 152,
    "g": 162,
    "b": 252
  },
  "hsl": {
    "h": 234,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.74077,
    "c": 0.13012,
    "h": 277.9
  },
  "luminance": 0.39544
}

Semantic roles & 50–950 ramp

primary
#98A2FC
secondary
#F6F3D5
accent
#CF00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121218
muted
#818186

Preview Lab

Preview with #98A2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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