#9799EE#9799EE

#9799EE is a light, vivid blue. Relative luminance 0.355; OKLCH L 71.6% C 0.123 H 281.8°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#9799EE
RGBrgb(151, 153, 238)
HSLhsl(239, 72%, 76%)
HSVhsv(239, 37%, 93%)
CMYKcmyk(36.6%, 35.7%, 0%, 6.7%)
CIE-LABlab(66.16, 19.24, -42.96)
CIE-LCHlch(66.16, 47.07, 294.12°)
OKLaboklab(71.56% 0.0251 -0.1203)
OKLCHoklch(71.56% 0.123 281.8)
XYZxyz(39.5820, 35.5334, 85.6454)
Luminance0.3553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9799EE #EEEC97
analogous
#97C5EE #9799EE #C197EE
triadic
#9799EE #EE9799 #99EE97
tetradic
#9799EE #EE97C5 #EEEC97 #97EEC1
square
#9799EE #EE97C5 #EEEC97 #97EEC1
split-complementary
#9799EE #EEC197 #C5EE97
monochromatic
#2E32DD #6265E5 #9799EE #CCCDF7 #E5E5FB

Accessibility & contrast

On white

2.59
#9799EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#9799EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9799EE
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9799EE#FFFFFF#000000##000000
##9799EE1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA4F1
Deuteranopia (green-blind)
#7A9EEC
Tritanopia (blue-blind)
#7FA9B8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9799ee;
/* rgb */ color: rgb(151, 153, 238);
/* oklch */ color: oklch(71.6% 0.123 281.8);
Tailwind
colors: {
  custom: {
    50: '#b8b7f4',
    500: '#9799ee',
    950: '#000000',
  },
}
SCSS
$custom: #9799ee;
$custom-light: #b8b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9799ee",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 238
  },
  "hsl": {
    "h": 238.621,
    "s": 71.901,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7156,
    "c": 0.12293,
    "h": 281.8
  },
  "luminance": 0.35535
}

Semantic roles & 50–950 ramp

primary
#9799EE
secondary
#F2F2D9
accent
#CF12D4
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#121117
muted
#818085

Preview Lab

Preview with #9799EE

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

Preview Lab → · Contrast checker → · Palette generator →

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