#9799D2#9799D2

#9799D2 is a light, moderate blue. Relative luminance 0.340; OKLCH L 70.3% C 0.083 H 282.5°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#9799D2
RGBrgb(151, 153, 210)
HSLhsl(238, 40%, 71%)
HSVhsv(238, 28%, 82%)
CMYKcmyk(28.1%, 27.1%, 0%, 17.6%)
CIE-LABlab(64.97, 12.01, -29.34)
CIE-LCHlch(64.97, 31.71, 292.26°)
OKLaboklab(70.25% 0.018 -0.0811)
OKLCHoklch(70.25% 0.083 282.5)
XYZxyz(35.7835, 34.0140, 65.6403)
Luminance0.3402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9799D2 #D2D097
analogous
#97B6D2 #9799D2 #B297D2
triadic
#9799D2 #D29799 #99D297
tetradic
#9799D2 #D297B6 #D2D097 #97D2B2
square
#9799D2 #D297B6 #D2D097 #97D2B2
split-complementary
#9799D2 #D2B297 #B6D297
monochromatic
#484BA7 #6C6FC0 #9799D2 #C2C3E4 #EAEAF6

Accessibility & contrast

On white

2.69
#9799D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#9799D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9799D2
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9799D2#FFFFFF#000000##000000
##9799D21.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A0D4
Deuteranopia (green-blind)
#879CD1
Tritanopia (blue-blind)
#89A3AD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9799d2;
/* rgb */ color: rgb(151, 153, 210);
/* oklch */ color: oklch(70.3% 0.083 282.5);
Tailwind
colors: {
  custom: {
    50: '#b7b7e0',
    500: '#9799d2',
    950: '#000000',
  },
}
SCSS
$custom: #9799d2;
$custom-light: #b7b7e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9799d2",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 210
  },
  "hsl": {
    "h": 237.966,
    "s": 39.597,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70253,
    "c": 0.08311,
    "h": 282.5
  },
  "luminance": 0.34015
}

Semantic roles & 50–950 ramp

primary
#9799D2
secondary
#EAEADA
accent
#AE33B3
background
#FBFBFD
surface
#F6F6FB
border
#D0D0D4
text
#111115
muted
#808083

Preview Lab

Preview with #9799D2

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

Preview Lab → · Contrast checker → · Palette generator →

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