#997FAF#997FAF

#997FAF is a light, moderate violet. Relative luminance 0.250; OKLCH L 63.8% C 0.076 H 309.0°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#997FAF
RGBrgb(153, 127, 175)
HSLhsl(273, 23%, 59%)
HSVhsv(273, 27%, 69%)
CMYKcmyk(12.6%, 27.4%, 0%, 31.4%)
CIE-LABlab(57.12, 19.34, -21.66)
CIE-LCHlch(57.12, 29.04, 311.76°)
OKLaboklab(63.79% 0.0479 -0.0592)
OKLCHoklch(63.79% 0.076 309)
XYZxyz(28.4627, 25.0464, 43.8841)
Luminance0.2505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FAF #95AF7F
analogous
#817FAF #997FAF #AF7FAD
triadic
#997FAF #AF997F #7FAF99
tetradic
#997FAF #AF817F #95AF7F #7FADAF
square
#997FAF #AF817F #95AF7F #7FADAF
split-complementary
#997FAF #ADAF7F #7FAF81
monochromatic
#5C456F #7B5D94 #997FAF #B7A5C7 #D5CADE

Accessibility & contrast

On white

3.49
#997FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#997FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FAF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FAF#FFFFFF#000000##000000
##997FAF1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7788B1
Deuteranopia (green-blind)
#7C8AAE
Tritanopia (blue-blind)
#968590
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #997faf;
/* rgb */ color: rgb(153, 127, 175);
/* oklch */ color: oklch(63.8% 0.076 309.0);
Tailwind
colors: {
  custom: {
    50: '#b7a4c7',
    500: '#997faf',
    950: '#000000',
  },
}
SCSS
$custom: #997faf;
$custom-light: #b7a4c7;
$custom-dark: #000000;
JSON
{
  "hex": "#997faf",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 175
  },
  "hsl": {
    "h": 272.5,
    "s": 23.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63789,
    "c": 0.07612,
    "h": 309
  },
  "luminance": 0.25046
}

Semantic roles & 50–950 ramp

primary
#997FAF
secondary
#C4CEBC
accent
#C06890
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#110F13
muted
#807F82

Preview Lab

Preview with #997FAF

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

Preview Lab → · Contrast checker → · Palette generator →

#997FAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva