#998FE7#998FE7

#998FE7 is a light, vivid blue. Relative luminance 0.322; OKLCH L 69.5% C 0.127 H 287.8°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#998FE7
RGBrgb(153, 143, 231)
HSLhsl(247, 65%, 73%)
HSVhsv(247, 38%, 91%)
CMYKcmyk(33.8%, 38.1%, 0%, 9.4%)
CIE-LABlab(63.50, 23.67, -43.28)
CIE-LCHlch(63.50, 49.33, 298.67°)
OKLaboklab(69.45% 0.039 -0.1212)
OKLCHoklch(69.45% 0.127 287.8)
XYZxyz(37.3793, 32.1858, 79.8289)
Luminance0.3219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998FE7 #DDE78F
analogous
#8FB1E7 #998FE7 #C58FE7
triadic
#998FE7 #E7998F #8FE799
tetradic
#998FE7 #E78FB1 #DDE78F #8FE7C5
square
#998FE7 #E78FB1 #DDE78F #8FE7C5
split-complementary
#998FE7 #E7C58F #B1E78F
monochromatic
#3F2CCF #6B5DDC #998FE7 #C7C1F2 #E8E6FA

Accessibility & contrast

On white

2.82
#998FE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#998FE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998FE7
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998FE7#FFFFFF#000000##000000
##998FE71.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#749CEA
Deuteranopia (green-blind)
#7398E5
Tritanopia (blue-blind)
#859FB0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #998fe7;
/* rgb */ color: rgb(153, 143, 231);
/* oklch */ color: oklch(69.5% 0.127 287.8);
Tailwind
colors: {
  custom: {
    50: '#b9afef',
    500: '#998fe7',
    950: '#000000',
  },
}
SCSS
$custom: #998fe7;
$custom-light: #b9afef;
$custom-dark: #000000;
JSON
{
  "hex": "#998fe7",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 231
  },
  "hsl": {
    "h": 246.818,
    "s": 64.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69453,
    "c": 0.12732,
    "h": 287.8
  },
  "luminance": 0.32187
}

Semantic roles & 50–950 ramp

primary
#998FE7
secondary
#EEF1DA
accent
#CD19B8
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #998FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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