#9799DB#9799DB

#9799DB is a light, moderate blue. Relative luminance 0.345; OKLCH L 70.7% C 0.096 H 282.3°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#9799DB
RGBrgb(151, 153, 219)
HSLhsl(238, 49%, 73%)
HSVhsv(238, 31%, 86%)
CMYKcmyk(31.1%, 30.1%, 0%, 14.1%)
CIE-LABlab(65.34, 14.28, -33.77)
CIE-LCHlch(65.34, 36.67, 292.92°)
OKLaboklab(70.66% 0.0205 -0.0938)
OKLCHoklch(70.66% 0.096 282.3)
XYZxyz(36.9365, 34.4752, 71.7124)
Luminance0.3448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9799DB #DBD997
analogous
#97BBDB #9799DB #B797DB
triadic
#9799DB #DB9799 #99DB97
tetradic
#9799DB #DB97BB #DBD997 #97DBB7
square
#9799DB #DB97BB #DBD997 #97DBB7
split-complementary
#9799DB #DBB797 #BBDB97
monochromatic
#4043B8 #6A6CCB #9799DB #C4C6EB #E8E9F7

Accessibility & contrast

On white

2.66
#9799DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#9799DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9799DB
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9799DB#FFFFFF#000000##000000
##9799DB1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A1DE
Deuteranopia (green-blind)
#839CD9
Tritanopia (blue-blind)
#86A5B1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9799db;
/* rgb */ color: rgb(151, 153, 219);
/* oklch */ color: oklch(70.7% 0.096 282.3);
Tailwind
colors: {
  custom: {
    50: '#b7b7e6',
    500: '#9799db',
    950: '#000000',
  },
}
SCSS
$custom: #9799db;
$custom-light: #b7b7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9799db",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 219
  },
  "hsl": {
    "h": 238.235,
    "s": 48.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70655,
    "c": 0.09603,
    "h": 282.3
  },
  "luminance": 0.34476
}

Semantic roles & 50–950 ramp

primary
#9799DB
secondary
#EEEEDD
accent
#B82ABC
background
#FBFBFE
surface
#F6F6FC
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #9799DB

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

Preview Lab → · Contrast checker → · Palette generator →

#9799DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva