#9998F2#9998F2

#9998F2 is a light, vivid blue. Relative luminance 0.356; OKLCH L 71.7% C 0.130 H 283.1°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#9998F2
RGBrgb(153, 152, 242)
HSLhsl(241, 78%, 77%)
HSVhsv(241, 37%, 95%)
CMYKcmyk(36.8%, 37.2%, 0%, 5.1%)
CIE-LABlab(66.24, 21.41, -45.02)
CIE-LCHlch(66.24, 49.85, 295.43°)
OKLaboklab(71.72% 0.0295 -0.1263)
OKLCHoklch(71.72% 0.13 283.1)
XYZxyz(40.3876, 35.6382, 88.7381)
Luminance0.3564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9998F2 #F1F298
analogous
#98C4F2 #9998F2 #C698F2
triadic
#9998F2 #F29998 #98F299
tetradic
#9998F2 #F298C4 #F1F298 #98F2C6
square
#9998F2 #F298C4 #F1F298 #98F2C6
split-complementary
#9998F2 #F2C698 #C4F298
monochromatic
#2D2BE4 #6362EB #9998F2 #CFCEF9 #E4E4FC

Accessibility & contrast

On white

2.58
#9998F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#9998F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9998F2
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9998F2#FFFFFF#000000##000000
##9998F21.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA4F6
Deuteranopia (green-blind)
#779EF0
Tritanopia (blue-blind)
#80A9BA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9998f2;
/* rgb */ color: rgb(153, 152, 242);
/* oklch */ color: oklch(71.7% 0.130 283.1);
Tailwind
colors: {
  custom: {
    50: '#bab6f6',
    500: '#9998f2',
    950: '#000000',
  },
}
SCSS
$custom: #9998f2;
$custom-light: #bab6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#9998f2",
  "rgb": {
    "r": 153,
    "g": 152,
    "b": 242
  },
  "hsl": {
    "h": 240.667,
    "s": 77.586,
    "l": 77.255
  },
  "oklch": {
    "l": 0.71719,
    "c": 0.12965,
    "h": 283.1
  },
  "luminance": 0.3564
}

Semantic roles & 50–950 ramp

primary
#9998F2
secondary
#F3F3D8
accent
#DA0CD8
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#121117
muted
#818085

Preview Lab

Preview with #9998F2

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

Preview Lab → · Contrast checker → · Palette generator →

#9998F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva