#9799EB#9799EB

#9799EB is a light, moderate blue. Relative luminance 0.354; OKLCH L 71.4% C 0.119 H 281.9°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#9799EB
RGBrgb(151, 153, 235)
HSLhsl(239, 68%, 76%)
HSVhsv(239, 36%, 92%)
CMYKcmyk(35.7%, 34.9%, 0%, 7.8%)
CIE-LABlab(66.03, 18.44, -41.52)
CIE-LCHlch(66.03, 45.44, 293.95°)
OKLaboklab(71.41% 0.0245 -0.1162)
OKLCHoklch(71.41% 0.119 281.9)
XYZxyz(39.1449, 35.3586, 83.3435)
Luminance0.3536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9799EB #EBE997
analogous
#97C3EB #9799EB #BF97EB
triadic
#9799EB #EB9799 #99EB97
tetradic
#9799EB #EB97C3 #EBE997 #97EBBF
square
#9799EB #EB97C3 #EBE997 #97EBBF
split-complementary
#9799EB #EBBF97 #C3EB97
monochromatic
#3034D7 #6467E1 #9799EB #CACBF5 #E5E6FA

Accessibility & contrast

On white

2.60
#9799EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#9799EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9799EB
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9799EB#FFFFFF#000000##000000
##9799EB1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA3EE
Deuteranopia (green-blind)
#7B9EE9
Tritanopia (blue-blind)
#80A9B7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9799eb;
/* rgb */ color: rgb(151, 153, 235);
/* oklch */ color: oklch(71.4% 0.119 281.9);
Tailwind
colors: {
  custom: {
    50: '#b8b7f2',
    500: '#9799eb',
    950: '#000000',
  },
}
SCSS
$custom: #9799eb;
$custom-light: #b8b7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9799eb",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 235
  },
  "hsl": {
    "h": 238.571,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71412,
    "c": 0.11872,
    "h": 281.9
  },
  "luminance": 0.3536
}

Semantic roles & 50–950 ramp

primary
#9799EB
secondary
#F2F1D9
accent
#CB16D0
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#121117
muted
#818085

Preview Lab

Preview with #9799EB

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

Preview Lab → · Contrast checker → · Palette generator →

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