#997DAF#997DAF

#997DAF is a light, moderate violet. Relative luminance 0.245; OKLCH L 63.4% C 0.080 H 309.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#997DAF
RGBrgb(153, 125, 175)
HSLhsl(274, 24%, 59%)
HSVhsv(274, 29%, 69%)
CMYKcmyk(12.6%, 28.6%, 0%, 31.4%)
CIE-LABlab(56.62, 20.50, -22.43)
CIE-LCHlch(56.62, 30.38, 312.42°)
OKLaboklab(63.4% 0.0509 -0.0613)
OKLCHoklch(63.4% 0.08 309.7)
XYZxyz(28.2070, 24.5350, 43.7989)
Luminance0.2454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DAF #93AF7D
analogous
#807DAF #997DAF #AF7DAC
triadic
#997DAF #AF997D #7DAF99
tetradic
#997DAF #AF807D #93AF7D #7DACAF
square
#997DAF #AF807D #93AF7D #7DACAF
split-complementary
#997DAF #ACAF7D #7DAF80
monochromatic
#5B446E #7B5B94 #997DAF #B7A3C6 #D4C9DE

Accessibility & contrast

On white

3.56
#997DAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#997DAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DAF
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DAF#FFFFFF#000000##000000
##997DAF1.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7586B1
Deuteranopia (green-blind)
#7A88AD
Tritanopia (blue-blind)
#97848F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #997daf;
/* rgb */ color: rgb(153, 125, 175);
/* oklch */ color: oklch(63.4% 0.080 309.7);
Tailwind
colors: {
  custom: {
    50: '#b7a3c7',
    500: '#997daf',
    950: '#000000',
  },
}
SCSS
$custom: #997daf;
$custom-light: #b7a3c7;
$custom-dark: #000000;
JSON
{
  "hex": "#997daf",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 175
  },
  "hsl": {
    "h": 273.6,
    "s": 23.81,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63404,
    "c": 0.07973,
    "h": 309.7
  },
  "luminance": 0.24535
}

Semantic roles & 50–950 ramp

primary
#997DAF
secondary
#C3CEBA
accent
#C0688F
background
#FBFAFC
surface
#F6F3F8
border
#D0CDD1
text
#110F13
muted
#807F82

Preview Lab

Preview with #997DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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