#997FDF#997FDF

#997FDF is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.1% C 0.141 H 294.7°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#997FDF
RGBrgb(153, 127, 223)
HSLhsl(256, 60%, 69%)
HSVhsv(256, 43%, 87%)
CMYKcmyk(31.4%, 43%, 0%, 12.5%)
CIE-LABlab(59.23, 30.81, -45.55)
CIE-LCHlch(59.23, 54.99, 304.07°)
OKLaboklab(66.09% 0.0588 -0.1278)
OKLCHoklch(66.09% 0.141 294.7)
XYZxyz(34.0422, 27.2782, 73.2694)
Luminance0.2728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FDF #C5DF7F
analogous
#7F95DF #997FDF #C97FDF
triadic
#997FDF #DF997F #7FDF99
tetradic
#997FDF #DF7F95 #C5DF7F #7FDFC9
square
#997FDF #DF7F95 #C5DF7F #7FDFC9
split-complementary
#997FDF #DFC97F #95DF7F
monochromatic
#532EB6 #724ED3 #997FDF #C0B0EB #E7E1F7

Accessibility & contrast

On white

3.25
#997FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#997FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FDF
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FDF#FFFFFF#000000##000000
##997FDF1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#618FE3
Deuteranopia (green-blind)
#658DDD
Tritanopia (blue-blind)
#8991A4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997fdf;
/* rgb */ color: rgb(153, 127, 223);
/* oklch */ color: oklch(66.1% 0.141 294.7);
Tailwind
colors: {
  custom: {
    50: '#b9a4e9',
    500: '#997fdf',
    950: '#000000',
  },
}
SCSS
$custom: #997fdf;
$custom-light: #b9a4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#997fdf",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 256.25,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66088,
    "c": 0.14071,
    "h": 294.7
  },
  "luminance": 0.27279
}

Semantic roles & 50–950 ramp

primary
#997FDF
secondary
#E3EBCF
accent
#C81E9A
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #997FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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