#998AFA#998AFA

#998AFA is a light, vivid blue. Relative luminance 0.319; OKLCH L 69.5% C 0.161 H 287.6°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#998AFA
RGBrgb(153, 138, 250)
HSLhsl(248, 92%, 76%)
HSVhsv(248, 45%, 98%)
CMYKcmyk(38.8%, 44.8%, 0%, 2%)
CIE-LABlab(63.22, 31.59, -54.18)
CIE-LCHlch(63.22, 62.72, 300.24°)
OKLaboklab(69.55% 0.0486 -0.153)
OKLCHoklch(69.55% 0.161 287.6)
XYZxyz(39.4759, 31.8501, 94.4917)
Luminance0.3185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998AFA #EBFA8A
analogous
#8AB3FA #998AFA #D18AFA
triadic
#998AFA #FA998A #8AFA99
tetradic
#998AFA #FA8AB3 #EBFA8A #8AFAD1
square
#998AFA #FA8AB3 #EBFA8A #8AFAD1
split-complementary
#998AFA #FAD18A #B3FA8A
monochromatic
#3315F5 #664FF7 #998AFA #CCC5FD #E5E2FE

Accessibility & contrast

On white

2.85
#998AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#998AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998AFA
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998AFA#FFFFFF#000000##000000
##998AFA1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFE
Deuteranopia (green-blind)
#6096F7
Tritanopia (blue-blind)
#7EA0B6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #998afa;
/* rgb */ color: rgb(153, 138, 250);
/* oklch */ color: oklch(69.5% 0.161 287.6);
Tailwind
colors: {
  custom: {
    50: '#bbacfc',
    500: '#998afa',
    950: '#000000',
  },
}
SCSS
$custom: #998afa;
$custom-light: #bbacfc;
$custom-dark: #000000;
JSON
{
  "hex": "#998afa",
  "rgb": {
    "r": 153,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 248.036,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.69547,
    "c": 0.16053,
    "h": 287.6
  },
  "luminance": 0.31851
}

Semantic roles & 50–950 ramp

primary
#998AFA
secondary
#F1F6D5
accent
#E600C7
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #998AFA

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

Preview Lab → · Contrast checker → · Palette generator →

#998AFA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva