#998DEB#998DEB

#998DEB is a light, vivid blue. Relative luminance 0.318; OKLCH L 69.3% C 0.136 H 288.2°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#998DEB
RGBrgb(153, 141, 235)
HSLhsl(248, 70%, 74%)
HSVhsv(248, 40%, 92%)
CMYKcmyk(34.9%, 40%, 0%, 7.8%)
CIE-LABlab(63.19, 25.87, -45.97)
CIE-LCHlch(63.19, 52.75, 299.37°)
OKLaboklab(69.28% 0.0424 -0.129)
OKLCHoklch(69.28% 0.136 288.2)
XYZxyz(37.6531, 31.8192, 82.7390)
Luminance0.3182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998DEB #DFEB8D
analogous
#8DB0EB #998DEB #C88DEB
triadic
#998DEB #EB998D #8DEB99
tetradic
#998DEB #EB8DB0 #DFEB8D #8DEBC8
square
#998DEB #EB8DB0 #DFEB8D #8DEBC8
split-complementary
#998DEB #EBC88D #B0EB8D
monochromatic
#3D26D8 #6A59E2 #998DEB #C8C1F4 #E8E5FA

Accessibility & contrast

On white

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

On black

7.36
#998DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998DEB
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998DEB#FFFFFF#000000##000000
##998DEB1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BEF
Deuteranopia (green-blind)
#6E97E9
Tritanopia (blue-blind)
#849FB1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #998deb;
/* rgb */ color: rgb(153, 141, 235);
/* oklch */ color: oklch(69.3% 0.136 288.2);
Tailwind
colors: {
  custom: {
    50: '#baaef2',
    500: '#998deb',
    950: '#000000',
  },
}
SCSS
$custom: #998deb;
$custom-light: #baaef2;
$custom-dark: #000000;
JSON
{
  "hex": "#998deb",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 247.66,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.69284,
    "c": 0.13581,
    "h": 288.2
  },
  "luminance": 0.3182
}

Semantic roles & 50–950 ramp

primary
#998DEB
secondary
#EFF2D9
accent
#D213BA
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #998DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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