#9E98DF#9E98DF

#9E98DF is a light, moderate blue. Relative luminance 0.351; OKLCH L 71.2% C 0.103 H 287.4°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#9E98DF
RGBrgb(158, 152, 223)
HSLhsl(245, 53%, 74%)
HSVhsv(245, 32%, 87%)
CMYKcmyk(29.1%, 31.8%, 0%, 12.5%)
CIE-LABlab(65.79, 17.87, -35.24)
CIE-LCHlch(65.79, 39.51, 296.89°)
OKLaboklab(71.19% 0.0306 -0.0979)
OKLCHoklch(71.19% 0.103 287.4)
XYZxyz(38.6446, 35.0524, 74.5275)
Luminance0.3505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E98DF #D9DF98
analogous
#98B5DF #9E98DF #C198DF
triadic
#9E98DF #DF9E98 #98DF9E
tetradic
#9E98DF #DF98B5 #D9DF98 #98DFC1
square
#9E98DF #DF98B5 #D9DF98 #98DFC1
split-complementary
#9E98DF #DFC198 #B5DF98
monochromatic
#473CC1 #7269D0 #9E98DF #CAC7EE #E9E8F8

Accessibility & contrast

On white

2.62
#9E98DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#9E98DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E98DF
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E98DF#FFFFFF#000000##000000
##9E98DF1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A2E2
Deuteranopia (green-blind)
#839EDD
Tritanopia (blue-blind)
#8FA5B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9e98df;
/* rgb */ color: rgb(158, 152, 223);
/* oklch */ color: oklch(71.2% 0.103 287.4);
Tailwind
colors: {
  custom: {
    50: '#bcb6e9',
    500: '#9e98df',
    950: '#000000',
  },
}
SCSS
$custom: #9e98df;
$custom-light: #bcb6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e98df",
  "rgb": {
    "r": 158,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 245.07,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71192,
    "c": 0.10259,
    "h": 287.4
  },
  "luminance": 0.35053
}

Semantic roles & 50–950 ramp

primary
#9E98DF
secondary
#EDEFDC
accent
#C025B3
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #9E98DF

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

Preview Lab → · Contrast checker → · Palette generator →

#9E98DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva