#9799FB#9799FB

#9799FB is a light, vivid blue. Relative luminance 0.363; OKLCH L 72.2% C 0.141 H 281.4°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#9799FB
RGBrgb(151, 153, 251)
HSLhsl(239, 93%, 79%)
HSVhsv(239, 40%, 98%)
CMYKcmyk(39.8%, 39%, 0%, 1.6%)
CIE-LABlab(66.77, 22.75, -49.12)
CIE-LCHlch(66.77, 54.13, 294.85°)
OKLaboklab(72.22% 0.0278 -0.1382)
OKLCHoklch(72.22% 0.141 281.4)
XYZxyz(41.5613, 36.3251, 96.0697)
Luminance0.3633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9799FB #FBF997
analogous
#97CBFB #9799FB #C797FB
triadic
#9799FB #FB9799 #99FB97
tetradic
#9799FB #FB97CB #FBF997 #97FBC7
square
#9799FB #FB97CB #FBF997 #97FBC7
split-complementary
#9799FB #FBC797 #CBFB97
monochromatic
#2125F6 #5C5FF9 #9799FB #D2D3FD #E2E2FE

Accessibility & contrast

On white

2.54
#9799FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#9799FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9799FB
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9799FB#FFFFFF#000000##000000
##9799FB1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FF
Deuteranopia (green-blind)
#729FF9
Tritanopia (blue-blind)
#79ACBE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9799fb;
/* rgb */ color: rgb(151, 153, 251);
/* oklch */ color: oklch(72.2% 0.141 281.4);
Tailwind
colors: {
  custom: {
    50: '#b9b7fd',
    500: '#9799fb',
    950: '#000000',
  },
}
SCSS
$custom: #9799fb;
$custom-light: #b9b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9799fb",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 251
  },
  "hsl": {
    "h": 238.8,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.72223,
    "c": 0.14101,
    "h": 281.4
  },
  "luminance": 0.36327
}

Semantic roles & 50–950 ramp

primary
#9799FB
secondary
#F6F5D5
accent
#E100E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #9799FB

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

Preview Lab → · Contrast checker → · Palette generator →

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