#9799FA#9799FA

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

Color values

HEX#9799FA
RGBrgb(151, 153, 250)
HSLhsl(239, 91%, 79%)
HSVhsv(239, 40%, 98%)
CMYKcmyk(39.6%, 38.8%, 0%, 2%)
CIE-LABlab(66.72, 22.48, -48.65)
CIE-LCHlch(66.72, 53.59, 294.80°)
OKLaboklab(72.17% 0.0276 -0.1369)
OKLCHoklch(72.17% 0.14 281.4)
XYZxyz(41.4041, 36.2622, 95.2417)
Luminance0.3626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9799FA #FAF897
analogous
#97CAFA #9799FA #C697FA
triadic
#9799FA #FA9799 #99FA97
tetradic
#9799FA #FA97CA #FAF897 #97FAC6
square
#9799FA #FA97CA #FAF897 #97FAC6
split-complementary
#9799FA #FAC697 #CAFA97
monochromatic
#2226F4 #5D60F7 #9799FA #D1D2FD #E2E2FE

Accessibility & contrast

On white

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

On black

8.25
#9799FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9799FA
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9799FA#FFFFFF#000000##000000
##9799FA1.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A6FE
Deuteranopia (green-blind)
#739FF8
Tritanopia (blue-blind)
#7AACBE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9799fa;
/* rgb */ color: rgb(151, 153, 250);
/* oklch */ color: oklch(72.2% 0.140 281.4);
Tailwind
colors: {
  custom: {
    50: '#b9b7fc',
    500: '#9799fa',
    950: '#000000',
  },
}
SCSS
$custom: #9799fa;
$custom-light: #b9b7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9799fa",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 250
  },
  "hsl": {
    "h": 238.788,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.72171,
    "c": 0.13963,
    "h": 281.4
  },
  "luminance": 0.36264
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9799FA

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

Preview Lab → · Contrast checker → · Palette generator →

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