#9799F5#9799F5

#9799F5 is a light, vivid blue. Relative luminance 0.360; OKLCH L 71.9% C 0.133 H 281.6°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#9799F5
RGBrgb(151, 153, 245)
HSLhsl(239, 82%, 78%)
HSVhsv(239, 38%, 96%)
CMYKcmyk(38.4%, 37.6%, 0%, 3.9%)
CIE-LABlab(66.48, 21.12, -46.29)
CIE-LCHlch(66.48, 50.88, 294.52°)
OKLaboklab(71.91% 0.0266 -0.13)
OKLCHoklch(71.91% 0.133 281.6)
XYZxyz(40.6304, 35.9528, 91.1673)
Luminance0.3595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9799F5 #F5F397
analogous
#97C8F5 #9799F5 #C497F5
triadic
#9799F5 #F59799 #99F597
tetradic
#9799F5 #F597C8 #F5F397 #97F5C4
square
#9799F5 #F597C8 #F5F397 #97F5C4
split-complementary
#9799F5 #F5C497 #C8F597
monochromatic
#272BEA #5F62F0 #9799F5 #CFD0FA #E3E4FC

Accessibility & contrast

On white

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

On black

8.19
#9799F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9799F5
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9799F5#FFFFFF#000000##000000
##9799F51.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA5F9
Deuteranopia (green-blind)
#769EF3
Tritanopia (blue-blind)
#7CABBB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9799f5;
/* rgb */ color: rgb(151, 153, 245);
/* oklch */ color: oklch(71.9% 0.133 281.6);
Tailwind
colors: {
  custom: {
    50: '#b9b7f9',
    500: '#9799f5',
    950: '#000000',
  },
}
SCSS
$custom: #9799f5;
$custom-light: #b9b7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9799f5",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 245
  },
  "hsl": {
    "h": 238.723,
    "s": 82.456,
    "l": 77.647
  },
  "oklch": {
    "l": 0.71913,
    "c": 0.1327,
    "h": 281.6
  },
  "luminance": 0.35954
}

Semantic roles & 50–950 ramp

primary
#9799F5
secondary
#F4F4D7
accent
#DA07DF
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #9799F5

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

Preview Lab → · Contrast checker → · Palette generator →

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