#9799CA#9799CA

#9799CA is a light, moderate blue. Relative luminance 0.336; OKLCH L 69.9% C 0.072 H 282.6°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#9799CA
RGBrgb(151, 153, 202)
HSLhsl(238, 32%, 69%)
HSVhsv(238, 25%, 79%)
CMYKcmyk(25.2%, 24.3%, 0%, 20.8%)
CIE-LABlab(64.66, 10.05, -25.37)
CIE-LCHlch(64.66, 27.28, 291.61°)
OKLaboklab(69.91% 0.0156 -0.0698)
OKLCHoklch(69.91% 0.072 282.6)
XYZxyz(34.8117, 33.6253, 60.5219)
Luminance0.3363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9799CA #CAC897
analogous
#97B3CA #9799CA #AF97CA
triadic
#9799CA #CA9799 #99CA97
tetradic
#9799CA #CA97B3 #CAC897 #97CAAF
square
#9799CA #CA97B3 #CAC897 #97CAAF
split-complementary
#9799CA #CAAF97 #B3CA97
monochromatic
#4E5199 #6E71B5 #9799CA #C0C1DF #E8E9F3

Accessibility & contrast

On white

2.72
#9799CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#9799CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9799CA
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9799CA#FFFFFF#000000##000000
##9799CA1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9FCC
Deuteranopia (green-blind)
#8A9BC9
Tritanopia (blue-blind)
#8BA2AA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9799ca;
/* rgb */ color: rgb(151, 153, 202);
/* oklch */ color: oklch(69.9% 0.072 282.6);
Tailwind
colors: {
  custom: {
    50: '#b6b7da',
    500: '#9799ca',
    950: '#000000',
  },
}
SCSS
$custom: #9799ca;
$custom-light: #b6b7da;
$custom-dark: #000000;
JSON
{
  "hex": "#9799ca",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 202
  },
  "hsl": {
    "h": 237.647,
    "s": 32.484,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69911,
    "c": 0.07155,
    "h": 282.6
  },
  "luminance": 0.33626
}

Semantic roles & 50–950 ramp

primary
#9799CA
secondary
#E6E5D7
accent
#A73AAB
background
#FBFBFD
surface
#F6F6FA
border
#D0D0D3
text
#111114
muted
#808083

Preview Lab

Preview with #9799CA

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

Preview Lab → · Contrast checker → · Palette generator →

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