#997DCF#997DCF

#997DCF is a light, vivid violet. Relative luminance 0.259; OKLCH L 64.9% C 0.122 H 298.7°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#997DCF
RGBrgb(153, 125, 207)
HSLhsl(260, 46%, 65%)
HSVhsv(260, 40%, 81%)
CMYKcmyk(26.1%, 39.6%, 0%, 18.8%)
CIE-LABlab(57.98, 27.96, -38.53)
CIE-LCHlch(57.98, 47.60, 305.97°)
OKLaboklab(64.89% 0.0588 -0.1074)
OKLCHoklch(64.89% 0.122 298.7)
XYZxyz(31.7304, 25.9443, 62.3555)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DCF #B3CF7D
analogous
#7D8ACF #997DCF #C27DCF
triadic
#997DCF #CF997D #7DCF99
tetradic
#997DCF #CF7D8A #B3CF7D #7DCFC2
square
#997DCF #CF7D8A #B3CF7D #7DCFC2
split-complementary
#997DCF #CFC27D #8ACF7D
monochromatic
#593999 #7650BE #997DCF #BCAAE0 #DFD6F0

Accessibility & contrast

On white

3.39
#997DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#997DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DCF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DCF#FFFFFF#000000##000000
##997DCF1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#678BD2
Deuteranopia (green-blind)
#6C8BCD
Tritanopia (blue-blind)
#8F8B9C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #997dcf;
/* rgb */ color: rgb(153, 125, 207);
/* oklch */ color: oklch(64.9% 0.122 298.7);
Tailwind
colors: {
  custom: {
    50: '#b9a3de',
    500: '#997dcf',
    950: '#000000',
  },
}
SCSS
$custom: #997dcf;
$custom-light: #b9a3de;
$custom-dark: #000000;
JSON
{
  "hex": "#997dcf",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 207
  },
  "hsl": {
    "h": 260.488,
    "s": 46.067,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64893,
    "c": 0.12244,
    "h": 298.7
  },
  "luminance": 0.25945
}

Semantic roles & 50–950 ramp

primary
#997DCF
secondary
#D8E2C6
accent
#B92C89
background
#FBFAFD
surface
#F6F3FB
border
#D0CDD4
text
#120F15
muted
#817F83

Preview Lab

Preview with #997DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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