#9799F7#9799F7

#9799F7 is a light, vivid blue. Relative luminance 0.361; OKLCH L 72.0% C 0.135 H 281.5°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#9799F7
RGBrgb(151, 153, 247)
HSLhsl(239, 86%, 78%)
HSVhsv(239, 39%, 97%)
CMYKcmyk(38.9%, 38.1%, 0%, 3.1%)
CIE-LABlab(66.58, 21.66, -47.24)
CIE-LCHlch(66.58, 51.97, 294.63°)
OKLaboklab(72.02% 0.027 -0.1327)
OKLCHoklch(72.02% 0.135 281.5)
XYZxyz(40.9374, 36.0756, 92.7840)
Luminance0.3608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9799F7 #F7F597
analogous
#97C9F7 #9799F7 #C597F7
triadic
#9799F7 #F79799 #99F797
tetradic
#9799F7 #F797C9 #F7F597 #97F7C5
square
#9799F7 #F797C9 #F7F597 #97F7C5
split-complementary
#9799F7 #F7C597 #C9F797
monochromatic
#252AEE #5E61F3 #9799F7 #D0D1FB #E3E3FD

Accessibility & contrast

On white

2.56
#9799F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#9799F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9799F7
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9799F7#FFFFFF#000000##000000
##9799F71.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A5FB
Deuteranopia (green-blind)
#749FF5
Tritanopia (blue-blind)
#7BABBC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9799f7;
/* rgb */ color: rgb(151, 153, 247);
/* oklch */ color: oklch(72.0% 0.135 281.5);
Tailwind
colors: {
  custom: {
    50: '#b9b7fa',
    500: '#9799f7',
    950: '#000000',
  },
}
SCSS
$custom: #9799f7;
$custom-light: #b9b7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9799f7",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 247
  },
  "hsl": {
    "h": 238.75,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.72015,
    "c": 0.13547,
    "h": 281.5
  },
  "luminance": 0.36077
}

Semantic roles & 50–950 ramp

primary
#9799F7
secondary
#F5F4D6
accent
#DE03E2
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #9799F7

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

Preview Lab → · Contrast checker → · Palette generator →

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