#997FDC#997FDC

#997FDC is a light, vivid violet. Relative luminance 0.271; OKLCH L 65.9% C 0.137 H 295.3°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#997FDC
RGBrgb(153, 127, 220)
HSLhsl(257, 57%, 68%)
HSVhsv(257, 42%, 86%)
CMYKcmyk(30.5%, 42.3%, 0%, 13.7%)
CIE-LABlab(59.08, 30.05, -44.11)
CIE-LCHlch(59.08, 53.37, 304.27°)
OKLaboklab(65.93% 0.0584 -0.1236)
OKLCHoklch(65.93% 0.137 295.3)
XYZxyz(33.6413, 27.1179, 71.1581)
Luminance0.2712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FDC #C2DC7F
analogous
#7F93DC #997FDC #C77FDC
triadic
#997FDC #DC997F #7FDC99
tetradic
#997FDC #DC7F93 #C2DC7F #7FDCC7
square
#997FDC #DC7F93 #C2DC7F #7FDCC7
split-complementary
#997FDC #DCC77F #93DC7F
monochromatic
#5430B0 #734FCF #997FDC #BFAFE9 #E6DFF6

Accessibility & contrast

On white

3.27
#997FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#997FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FDC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FDC#FFFFFF#000000##000000
##997FDC1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#638FDF
Deuteranopia (green-blind)
#678DDA
Tritanopia (blue-blind)
#8A90A3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #997fdc;
/* rgb */ color: rgb(153, 127, 220);
/* oklch */ color: oklch(65.9% 0.137 295.3);
Tailwind
colors: {
  custom: {
    50: '#b9a4e7',
    500: '#997fdc',
    950: '#000000',
  },
}
SCSS
$custom: #997fdc;
$custom-light: #b9a4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#997fdc",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 220
  },
  "hsl": {
    "h": 256.774,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65929,
    "c": 0.1367,
    "h": 295.3
  },
  "luminance": 0.27118
}

Semantic roles & 50–950 ramp

primary
#997FDC
secondary
#E2EACD
accent
#C52197
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #997FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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