#9799F1#9799F1

#9799F1 is a light, vivid blue. Relative luminance 0.357; OKLCH L 71.7% C 0.127 H 281.7°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#9799F1
RGBrgb(151, 153, 241)
HSLhsl(239, 76%, 77%)
HSVhsv(239, 37%, 95%)
CMYKcmyk(37.3%, 36.5%, 0%, 5.5%)
CIE-LABlab(66.30, 20.04, -44.39)
CIE-LCHlch(66.30, 48.71, 294.30°)
OKLaboklab(71.71% 0.0258 -0.1245)
OKLCHoklch(71.71% 0.127 281.7)
XYZxyz(40.0264, 35.7112, 87.9860)
Luminance0.3571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9799F1 #F1EF97
analogous
#97C6F1 #9799F1 #C297F1
triadic
#9799F1 #F19799 #99F197
tetradic
#9799F1 #F197C6 #F1EF97 #97F1C2
square
#9799F1 #F197C6 #F1EF97 #97F1C2
split-complementary
#9799F1 #F1C297 #C6F197
monochromatic
#2B2FE2 #6164EA #9799F1 #CDCEF8 #E4E5FB

Accessibility & contrast

On white

2.58
#9799F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#9799F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9799F1
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9799F1#FFFFFF#000000##000000
##9799F11.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA4F4
Deuteranopia (green-blind)
#789EEF
Tritanopia (blue-blind)
#7DAABA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9799f1;
/* rgb */ color: rgb(151, 153, 241);
/* oklch */ color: oklch(71.7% 0.127 281.7);
Tailwind
colors: {
  custom: {
    50: '#b8b7f6',
    500: '#9799f1',
    950: '#000000',
  },
}
SCSS
$custom: #9799f1;
$custom-light: #b8b7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#9799f1",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 241
  },
  "hsl": {
    "h": 238.667,
    "s": 76.271,
    "l": 76.863
  },
  "oklch": {
    "l": 0.7171,
    "c": 0.12712,
    "h": 281.7
  },
  "luminance": 0.35713
}

Semantic roles & 50–950 ramp

primary
#9799F1
secondary
#F3F3D8
accent
#D40DD8
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#121117
muted
#818085

Preview Lab

Preview with #9799F1

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

Preview Lab → · Contrast checker → · Palette generator →

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