#9799F3#9799F3

#9799F3 is a light, vivid blue. Relative luminance 0.358; OKLCH L 71.8% C 0.130 H 281.6°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#9799F3
RGBrgb(151, 153, 243)
HSLhsl(239, 79%, 77%)
HSVhsv(239, 38%, 95%)
CMYKcmyk(37.9%, 37%, 0%, 4.7%)
CIE-LABlab(66.39, 20.58, -45.34)
CIE-LCHlch(66.39, 49.79, 294.41°)
OKLaboklab(71.81% 0.0262 -0.1272)
OKLCHoklch(71.81% 0.13 281.6)
XYZxyz(40.3268, 35.8313, 89.5680)
Luminance0.3583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9799F3 #F3F197
analogous
#97C7F3 #9799F3 #C397F3
triadic
#9799F3 #F39799 #99F397
tetradic
#9799F3 #F397C7 #F3F197 #97F3C3
square
#9799F3 #F397C7 #F3F197 #97F3C3
split-complementary
#9799F3 #F3C397 #C7F397
monochromatic
#292DE6 #6063ED #9799F3 #CECFF9 #E4E4FC

Accessibility & contrast

On white

2.57
#9799F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#9799F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9799F3
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9799F3#FFFFFF#000000##000000
##9799F31.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA5F7
Deuteranopia (green-blind)
#779EF1
Tritanopia (blue-blind)
#7DAABB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9799f3;
/* rgb */ color: rgb(151, 153, 243);
/* oklch */ color: oklch(71.8% 0.130 281.6);
Tailwind
colors: {
  custom: {
    50: '#b9b7f7',
    500: '#9799f3',
    950: '#000000',
  },
}
SCSS
$custom: #9799f3;
$custom-light: #b9b7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9799f3",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 243
  },
  "hsl": {
    "h": 238.696,
    "s": 79.31,
    "l": 77.255
  },
  "oklch": {
    "l": 0.71811,
    "c": 0.12991,
    "h": 281.6
  },
  "luminance": 0.35833
}

Semantic roles & 50–950 ramp

primary
#9799F3
secondary
#F4F3D7
accent
#D70ADC
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #9799F3

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

Preview Lab → · Contrast checker → · Palette generator →

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