#9799FF#9799FF

#9799FF is a light, vivid blue. Relative luminance 0.366; OKLCH L 72.4% C 0.147 H 281.2°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#9799FF
RGBrgb(151, 153, 255)
HSLhsl(239, 100%, 80%)
HSVhsv(239, 41%, 100%)
CMYKcmyk(40.8%, 40%, 0%, 0%)
CIE-LABlab(66.96, 23.85, -51.00)
CIE-LCHlch(66.96, 56.30, 295.06°)
OKLaboklab(72.43% 0.0286 -0.1437)
OKLCHoklch(72.43% 0.147 281.2)
XYZxyz(42.1985, 36.5800, 99.4256)
Luminance0.3658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9799FF #FFFD97
analogous
#97CDFF #9799FF #C997FF
triadic
#9799FF #FF9799 #99FF97
tetradic
#9799FF #FF97CD #FFFD97 #97FFC9
square
#9799FF #FF97CD #FFFD97 #97FFC9
split-complementary
#9799FF #FFC997 #CDFF97
monochromatic
#1D21FF #5A5DFF #9799FF #D4D5FF #E0E1FF

Accessibility & contrast

On white

2.53
#9799FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#9799FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9799FF
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9799FF#FFFFFF#000000##000000
##9799FF1.002.538.328.32
#FFFFFF2.531.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A7FF
Deuteranopia (green-blind)
#6F9FFD
Tritanopia (blue-blind)
#77ADC0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9799ff;
/* rgb */ color: rgb(151, 153, 255);
/* oklch */ color: oklch(72.4% 0.147 281.2);
Tailwind
colors: {
  custom: {
    50: '#bab7ff',
    500: '#9799ff',
    950: '#000000',
  },
}
SCSS
$custom: #9799ff;
$custom-light: #bab7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9799ff",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 255
  },
  "hsl": {
    "h": 238.846,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.72433,
    "c": 0.14651,
    "h": 281.2
  },
  "luminance": 0.36582
}

Semantic roles & 50–950 ramp

primary
#9799FF
secondary
#F7F7D4
accent
#E100E6
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121118
muted
#818086

Preview Lab

Preview with #9799FF

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

Preview Lab → · Contrast checker → · Palette generator →

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