#9799FE#9799FE

#9799FE is a light, vivid blue. Relative luminance 0.365; OKLCH L 72.4% C 0.145 H 281.3°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#9799FE
RGBrgb(151, 153, 254)
HSLhsl(239, 98%, 79%)
HSVhsv(239, 41%, 100%)
CMYKcmyk(40.6%, 39.8%, 0%, 0.4%)
CIE-LABlab(66.91, 23.57, -50.53)
CIE-LCHlch(66.91, 55.76, 295.01°)
OKLaboklab(72.38% 0.0284 -0.1423)
OKLCHoklch(72.38% 0.145 281.3)
XYZxyz(42.0379, 36.5158, 98.5800)
Luminance0.3652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9799FE #FEFC97
analogous
#97CDFE #9799FE #C997FE
triadic
#9799FE #FE9799 #99FE97
tetradic
#9799FE #FE97CD #FEFC97 #97FEC9
square
#9799FE #FE97CD #FEFC97 #97FEC9
split-complementary
#9799FE #FEC997 #CDFE97
monochromatic
#1E22FD #5A5EFD #9799FE #D4D4FF #E1E1FF

Accessibility & contrast

On white

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

On black

8.30
#9799FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9799FE
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9799FE#FFFFFF#000000##000000
##9799FE1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A7FF
Deuteranopia (green-blind)
#709FFC
Tritanopia (blue-blind)
#78ADBF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9799fe;
/* rgb */ color: rgb(151, 153, 254);
/* oklch */ color: oklch(72.4% 0.145 281.3);
Tailwind
colors: {
  custom: {
    50: '#b9b7ff',
    500: '#9799fe',
    950: '#000000',
  },
}
SCSS
$custom: #9799fe;
$custom-light: #b9b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9799fe",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 254
  },
  "hsl": {
    "h": 238.835,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.7238,
    "c": 0.14514,
    "h": 281.3
  },
  "luminance": 0.36518
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9799FE

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

Preview Lab → · Contrast checker → · Palette generator →

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