#997FD2#997FD2

#997FD2 is a light, vivid violet. Relative luminance 0.266; OKLCH L 65.4% C 0.123 H 297.3°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#997FD2
RGBrgb(153, 127, 210)
HSLhsl(259, 48%, 66%)
HSVhsv(259, 40%, 82%)
CMYKcmyk(27.1%, 39.5%, 0%, 17.6%)
CIE-LABlab(58.61, 27.54, -39.24)
CIE-LCHlch(58.61, 47.95, 305.06°)
OKLaboklab(65.41% 0.0565 -0.1095)
OKLCHoklch(65.41% 0.123 297.3)
XYZxyz(32.3564, 26.6039, 64.3907)
Luminance0.2660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FD2 #B8D27F
analogous
#7F8ED2 #997FD2 #C27FD2
triadic
#997FD2 #D2997F #7FD299
tetradic
#997FD2 #D27F8E #B8D27F #7FD2C2
square
#997FD2 #D27F8E #B8D27F #7FD2C2
split-complementary
#997FD2 #D2C27F #8ED27F
monochromatic
#58389F #7552C2 #997FD2 #BDACE2 #E1DAF2

Accessibility & contrast

On white

3.32
#997FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#997FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FD2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FD2#FFFFFF#000000##000000
##997FD21.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#698DD5
Deuteranopia (green-blind)
#6D8CD0
Tritanopia (blue-blind)
#8E8D9E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #997fd2;
/* rgb */ color: rgb(153, 127, 210);
/* oklch */ color: oklch(65.4% 0.123 297.3);
Tailwind
colors: {
  custom: {
    50: '#b9a4e0',
    500: '#997fd2',
    950: '#000000',
  },
}
SCSS
$custom: #997fd2;
$custom-light: #b9a4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#997fd2",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 258.795,
    "s": 47.977,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65411,
    "c": 0.12324,
    "h": 297.3
  },
  "luminance": 0.26604
}

Semantic roles & 50–950 ramp

primary
#997FD2
secondary
#DBE4C9
accent
#BB2A8E
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#120F15
muted
#817F83

Preview Lab

Preview with #997FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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