#998FED#998FED

#998FED is a light, vivid blue. Relative luminance 0.325; OKLCH L 69.8% C 0.136 H 287.2°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#998FED
RGBrgb(153, 143, 237)
HSLhsl(246, 72%, 75%)
HSVhsv(246, 40%, 93%)
CMYKcmyk(35.4%, 39.7%, 0%, 7.1%)
CIE-LABlab(63.78, 25.25, -46.15)
CIE-LCHlch(63.78, 52.60, 298.68°)
OKLaboklab(69.76% 0.0401 -0.1295)
OKLCHoklch(69.76% 0.136 287.2)
XYZxyz(38.2412, 32.5305, 84.3685)
Luminance0.3253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998FED #E3ED8F
analogous
#8FB4ED #998FED #C88FED
triadic
#998FED #ED998F #8FED99
tetradic
#998FED #ED8FB4 #E3ED8F #8FEDC8
square
#998FED #ED8FB4 #E3ED8F #8FEDC8
split-complementary
#998FED #EDC88F #B4ED8F
monochromatic
#3926DC #695AE5 #998FED #C9C4F5 #E7E5FB

Accessibility & contrast

On white

2.80
#998FED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#998FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #998FED
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998FED#FFFFFF#000000##000000
##998FED1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#719DF1
Deuteranopia (green-blind)
#6F98EB
Tritanopia (blue-blind)
#83A1B3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #998fed;
/* rgb */ color: rgb(153, 143, 237);
/* oklch */ color: oklch(69.8% 0.136 287.2);
Tailwind
colors: {
  custom: {
    50: '#baaff3',
    500: '#998fed',
    950: '#000000',
  },
}
SCSS
$custom: #998fed;
$custom-light: #baaff3;
$custom-dark: #000000;
JSON
{
  "hex": "#998fed",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 237
  },
  "hsl": {
    "h": 246.383,
    "s": 72.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69761,
    "c": 0.13562,
    "h": 287.2
  },
  "luminance": 0.32532
}

Semantic roles & 50–950 ramp

primary
#998FED
secondary
#F0F2D9
accent
#D411C0
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #998FED

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

Preview Lab → · Contrast checker → · Palette generator →

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