#9F98DF#9F98DF

#9F98DF is a light, moderate blue. Relative luminance 0.352; OKLCH L 71.3% C 0.103 H 288.0°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#9F98DF
RGBrgb(159, 152, 223)
HSLhsl(246, 53%, 74%)
HSVhsv(246, 32%, 87%)
CMYKcmyk(28.7%, 31.8%, 0%, 12.5%)
CIE-LABlab(65.87, 18.16, -35.11)
CIE-LCHlch(65.87, 39.53, 297.35°)
OKLaboklab(71.27% 0.0317 -0.0975)
OKLCHoklch(71.27% 0.103 288)
XYZxyz(38.8422, 35.1543, 74.5367)
Luminance0.3515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F98DF #D8DF98
analogous
#98B4DF #9F98DF #C298DF
triadic
#9F98DF #DF9F98 #98DF9F
tetradic
#9F98DF #DF98B4 #D8DF98 #98DFC2
square
#9F98DF #DF98B4 #D8DF98 #98DFC2
split-complementary
#9F98DF #DFC298 #B4DF98
monochromatic
#493CC1 #7369D0 #9F98DF #CBC7EE #E9E8F8

Accessibility & contrast

On white

2.61
#9F98DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#9F98DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F98DF
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F98DF#FFFFFF#000000##000000
##9F98DF1.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A2E2
Deuteranopia (green-blind)
#849EDD
Tritanopia (blue-blind)
#90A5B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9f98df;
/* rgb */ color: rgb(159, 152, 223);
/* oklch */ color: oklch(71.3% 0.103 288.0);
Tailwind
colors: {
  custom: {
    50: '#bdb6e9',
    500: '#9f98df',
    950: '#000000',
  },
}
SCSS
$custom: #9f98df;
$custom-light: #bdb6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f98df",
  "rgb": {
    "r": 159,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 245.915,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71272,
    "c": 0.10256,
    "h": 288
  },
  "luminance": 0.35155
}

Semantic roles & 50–950 ramp

primary
#9F98DF
secondary
#EDEFDC
accent
#C025B1
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #9F98DF

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

Preview Lab → · Contrast checker → · Palette generator →

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