#998FE4#998FE4

#998FE4 is a light, vivid blue. Relative luminance 0.320; OKLCH L 69.3% C 0.123 H 288.1°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#998FE4
RGBrgb(153, 143, 228)
HSLhsl(247, 61%, 73%)
HSVhsv(247, 37%, 89%)
CMYKcmyk(32.9%, 37.3%, 0%, 10.6%)
CIE-LABlab(63.36, 22.89, -41.84)
CIE-LCHlch(63.36, 47.69, 298.68°)
OKLaboklab(69.3% 0.0383 -0.117)
OKLCHoklch(69.3% 0.123 288.1)
XYZxyz(36.9592, 32.0177, 77.6165)
Luminance0.3202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998FE4 #DAE48F
analogous
#8FAFE4 #998FE4 #C48FE4
triadic
#998FE4 #E4998F #8FE499
tetradic
#998FE4 #E48FAF #DAE48F #8FE4C4
square
#998FE4 #E48FAF #DAE48F #8FE4C4
split-complementary
#998FE4 #E4C48F #AFE48F
monochromatic
#4230C8 #6C5ED8 #998FE4 #C6C0F0 #E9E6F9

Accessibility & contrast

On white

2.84
#998FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#998FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998FE4
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998FE4#FFFFFF#000000##000000
##998FE41.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#759BE7
Deuteranopia (green-blind)
#7597E2
Tritanopia (blue-blind)
#869FAF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #998fe4;
/* rgb */ color: rgb(153, 143, 228);
/* oklch */ color: oklch(69.3% 0.123 288.1);
Tailwind
colors: {
  custom: {
    50: '#b9afed',
    500: '#998fe4',
    950: '#000000',
  },
}
SCSS
$custom: #998fe4;
$custom-light: #b9afed;
$custom-dark: #000000;
JSON
{
  "hex": "#998fe4",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 228
  },
  "hsl": {
    "h": 247.059,
    "s": 61.151,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69301,
    "c": 0.12316,
    "h": 288.1
  },
  "luminance": 0.32019
}

Semantic roles & 50–950 ramp

primary
#998FE4
secondary
#EEF0DB
accent
#C91DB5
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #998FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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