#9799EA#9799EA

#9799EA is a light, moderate blue. Relative luminance 0.353; OKLCH L 71.4% C 0.117 H 281.9°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#9799EA
RGBrgb(151, 153, 234)
HSLhsl(239, 66%, 75%)
HSVhsv(239, 35%, 92%)
CMYKcmyk(35.5%, 34.6%, 0%, 8.2%)
CIE-LABlab(65.98, 18.18, -41.04)
CIE-LCHlch(65.98, 44.89, 293.89°)
OKLaboklab(71.36% 0.0242 -0.1148)
OKLCHoklch(71.36% 0.117 281.9)
XYZxyz(39.0009, 35.3010, 82.5848)
Luminance0.3530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9799EA #EAE897
analogous
#97C2EA #9799EA #BE97EA
triadic
#9799EA #EA9799 #99EA97
tetradic
#9799EA #EA97C2 #EAE897 #97EABE
square
#9799EA #EA97C2 #EAE897 #97EABE
split-complementary
#9799EA #EABE97 #C2EA97
monochromatic
#3135D5 #6467E0 #9799EA #CACBF4 #E6E6FA

Accessibility & contrast

On white

2.61
#9799EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#9799EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9799EA
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9799EA#FFFFFF#000000##000000
##9799EA1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA3ED
Deuteranopia (green-blind)
#7C9EE8
Tritanopia (blue-blind)
#80A8B7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9799ea;
/* rgb */ color: rgb(151, 153, 234);
/* oklch */ color: oklch(71.4% 0.117 281.9);
Tailwind
colors: {
  custom: {
    50: '#b8b7f1',
    500: '#9799ea',
    950: '#000000',
  },
}
SCSS
$custom: #9799ea;
$custom-light: #b8b7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9799ea",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 234
  },
  "hsl": {
    "h": 238.554,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71363,
    "c": 0.11731,
    "h": 281.9
  },
  "luminance": 0.35302
}

Semantic roles & 50–950 ramp

primary
#9799EA
secondary
#F1F1DA
accent
#CA17CE
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #9799EA

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

Preview Lab → · Contrast checker → · Palette generator →

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