#9799DA#9799DA

#9799DA is a light, moderate blue. Relative luminance 0.344; OKLCH L 70.6% C 0.095 H 282.3°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#9799DA
RGBrgb(151, 153, 218)
HSLhsl(238, 48%, 72%)
HSVhsv(238, 31%, 85%)
CMYKcmyk(30.7%, 29.8%, 0%, 14.5%)
CIE-LABlab(65.30, 14.02, -33.28)
CIE-LCHlch(65.30, 36.12, 292.85°)
OKLaboklab(70.61% 0.0202 -0.0924)
OKLCHoklch(70.61% 0.095 282.3)
XYZxyz(36.8052, 34.4227, 71.0211)
Luminance0.3442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9799DA #DAD897
analogous
#97BBDA #9799DA #B797DA
triadic
#9799DA #DA9799 #99DA97
tetradic
#9799DA #DA97BB #DAD897 #97DAB7
square
#9799DA #DA97BB #DAD897 #97DAB7
split-complementary
#9799DA #DAB797 #BBDA97
monochromatic
#4144B6 #6A6DCA #9799DA #C4C5EA #E8E9F7

Accessibility & contrast

On white

2.66
#9799DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#9799DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9799DA
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9799DA#FFFFFF#000000##000000
##9799DA1.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A1DD
Deuteranopia (green-blind)
#839CD8
Tritanopia (blue-blind)
#86A5B0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9799da;
/* rgb */ color: rgb(151, 153, 218);
/* oklch */ color: oklch(70.6% 0.095 282.3);
Tailwind
colors: {
  custom: {
    50: '#b7b7e5',
    500: '#9799da',
    950: '#000000',
  },
}
SCSS
$custom: #9799da;
$custom-light: #b7b7e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9799da",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 218
  },
  "hsl": {
    "h": 238.209,
    "s": 47.518,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7061,
    "c": 0.09459,
    "h": 282.3
  },
  "luminance": 0.34424
}

Semantic roles & 50–950 ramp

primary
#9799DA
secondary
#EEEDDD
accent
#B62BBB
background
#FBFBFE
surface
#F6F6FC
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #9799DA

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

Preview Lab → · Contrast checker → · Palette generator →

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