#9799FC#9799FC

#9799FC is a light, vivid blue. Relative luminance 0.364; OKLCH L 72.3% C 0.142 H 281.3°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#9799FC
RGBrgb(151, 153, 252)
HSLhsl(239, 94%, 79%)
HSVhsv(239, 40%, 99%)
CMYKcmyk(40.1%, 39.3%, 0%, 1.2%)
CIE-LABlab(66.82, 23.02, -49.59)
CIE-LCHlch(66.82, 54.68, 294.90°)
OKLaboklab(72.28% 0.028 -0.1396)
OKLCHoklch(72.28% 0.142 281.3)
XYZxyz(41.7193, 36.3883, 96.9021)
Luminance0.3639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9799FC #FCFA97
analogous
#97CCFC #9799FC #C897FC
triadic
#9799FC #FC9799 #99FC97
tetradic
#9799FC #FC97CC #FCFA97 #97FCC8
square
#9799FC #FC97CC #FCFA97 #97FCC8
split-complementary
#9799FC #FCC897 #CCFC97
monochromatic
#2024F9 #5C5FFA #9799FC #D2D3FE #E1E2FE

Accessibility & contrast

On white

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

On black

8.28
#9799FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9799FC
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9799FC#FFFFFF#000000##000000
##9799FC1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FF
Deuteranopia (green-blind)
#719FFA
Tritanopia (blue-blind)
#79ADBE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9799fc;
/* rgb */ color: rgb(151, 153, 252);
/* oklch */ color: oklch(72.3% 0.142 281.3);
Tailwind
colors: {
  custom: {
    50: '#b9b7fe',
    500: '#9799fc',
    950: '#000000',
  },
}
SCSS
$custom: #9799fc;
$custom-light: #b9b7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#9799fc",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 252
  },
  "hsl": {
    "h": 238.812,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.72275,
    "c": 0.14238,
    "h": 281.3
  },
  "luminance": 0.3639
}

Semantic roles & 50–950 ramp

primary
#9799FC
secondary
#F6F6D5
accent
#E100E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121118
muted
#818086

Preview Lab

Preview with #9799FC

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

Preview Lab → · Contrast checker → · Palette generator →

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