#9799CD#9799CD

#9799CD is a light, moderate blue. Relative luminance 0.338; OKLCH L 70.0% C 0.076 H 282.5°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#9799CD
RGBrgb(151, 153, 205)
HSLhsl(238, 35%, 70%)
HSVhsv(238, 26%, 80%)
CMYKcmyk(26.3%, 25.4%, 0%, 19.6%)
CIE-LABlab(64.78, 10.78, -26.86)
CIE-LCHlch(64.78, 28.94, 291.86°)
OKLaboklab(70.04% 0.0165 -0.0741)
OKLCHoklch(70.04% 0.076 282.5)
XYZxyz(35.1703, 33.7688, 62.4108)
Luminance0.3377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9799CD #CDCB97
analogous
#97B4CD #9799CD #B097CD
triadic
#9799CD #CD9799 #99CD97
tetradic
#9799CD #CD97B4 #CDCB97 #97CDB0
square
#9799CD #CD97B4 #CDCB97 #97CDB0
split-complementary
#9799CD #CDB097 #B4CD97
monochromatic
#4C4F9E #6E70B9 #9799CD #C0C2E1 #EAEAF5

Accessibility & contrast

On white

2.71
#9799CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#9799CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9799CD
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9799CD#FFFFFF#000000##000000
##9799CD1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9FCF
Deuteranopia (green-blind)
#899BCC
Tritanopia (blue-blind)
#8AA2AB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9799cd;
/* rgb */ color: rgb(151, 153, 205);
/* oklch */ color: oklch(70.0% 0.076 282.5);
Tailwind
colors: {
  custom: {
    50: '#b6b7dc',
    500: '#9799cd',
    950: '#000000',
  },
}
SCSS
$custom: #9799cd;
$custom-light: #b6b7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9799cd",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 205
  },
  "hsl": {
    "h": 237.778,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70038,
    "c": 0.07589,
    "h": 282.5
  },
  "luminance": 0.3377
}

Semantic roles & 50–950 ramp

primary
#9799CD
secondary
#E8E7D8
accent
#AA38AE
background
#FBFBFD
surface
#F6F6FB
border
#D0D0D4
text
#111115
muted
#808083

Preview Lab

Preview with #9799CD

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

Preview Lab → · Contrast checker → · Palette generator →

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