#998BE4#998BE4

#998BE4 is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.5% C 0.129 H 289.8°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#998BE4
RGBrgb(153, 139, 228)
HSLhsl(249, 62%, 72%)
HSVhsv(249, 39%, 89%)
CMYKcmyk(32.9%, 39%, 0%, 10.6%)
CIE-LABlab(62.37, 25.19, -43.39)
CIE-LCHlch(62.37, 50.17, 300.14°)
OKLaboklab(68.55% 0.0437 -0.1215)
OKLCHoklch(68.55% 0.129 289.8)
XYZxyz(36.3694, 30.8381, 77.4199)
Luminance0.3084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998BE4 #D6E48B
analogous
#8BAAE4 #998BE4 #C68BE4
triadic
#998BE4 #E4998B #8BE499
tetradic
#998BE4 #E48BAA #D6E48B #8BE4C6
square
#998BE4 #E48BAA #D6E48B #8BE4C6
split-complementary
#998BE4 #E4C68B #AAE48B
monochromatic
#462EC6 #6D59D8 #998BE4 #C5BDF0 #E9E6F9

Accessibility & contrast

On white

2.93
#998BE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#998BE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998BE4
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998BE4#FFFFFF#000000##000000
##998BE41.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7099E7
Deuteranopia (green-blind)
#7095E2
Tritanopia (blue-blind)
#879BAD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #998be4;
/* rgb */ color: rgb(153, 139, 228);
/* oklch */ color: oklch(68.5% 0.129 289.8);
Tailwind
colors: {
  custom: {
    50: '#b9aded',
    500: '#998be4',
    950: '#000000',
  },
}
SCSS
$custom: #998be4;
$custom-light: #b9aded;
$custom-dark: #000000;
JSON
{
  "hex": "#998be4",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 228
  },
  "hsl": {
    "h": 249.438,
    "s": 62.238,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68549,
    "c": 0.12914,
    "h": 289.8
  },
  "luminance": 0.30839
}

Semantic roles & 50–950 ramp

primary
#998BE4
secondary
#EDF1DA
accent
#CA1CAF
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #998BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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