#997FED#997FED

#997FED is a light, vivid violet. Relative luminance 0.281; OKLCH L 66.9% C 0.159 H 292.4°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#997FED
RGBrgb(153, 127, 237)
HSLhsl(254, 75%, 71%)
HSVhsv(254, 46%, 93%)
CMYKcmyk(35.4%, 46.4%, 0%, 7.1%)
CIE-LABlab(59.95, 34.43, -52.21)
CIE-LCHlch(59.95, 62.54, 303.40°)
OKLaboklab(66.86% 0.0608 -0.1473)
OKLCHoklch(66.86% 0.159 292.4)
XYZxyz(36.0083, 28.0647, 83.6242)
Luminance0.2807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FED #D3ED7F
analogous
#7F9CED #997FED #D07FED
triadic
#997FED #ED997F #7FED99
tetradic
#997FED #ED7F9C #D3ED7F #7FEDD0
square
#997FED #ED7F9C #D3ED7F #7FEDD0
split-complementary
#997FED #EDD07F #9CED7F
monochromatic
#491ED4 #6E49E5 #997FED #C4B5F5 #EAE4FB

Accessibility & contrast

On white

3.18
#997FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#997FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FED
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FED#FFFFFF#000000##000000
##997FED1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5892F1
Deuteranopia (green-blind)
#5C8EEA
Tritanopia (blue-blind)
#8494AB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997fed;
/* rgb */ color: rgb(153, 127, 237);
/* oklch */ color: oklch(66.9% 0.159 292.4);
Tailwind
colors: {
  custom: {
    50: '#baa4f3',
    500: '#997fed',
    950: '#000000',
  },
}
SCSS
$custom: #997fed;
$custom-light: #baa4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#997fed",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 254.182,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66861,
    "c": 0.15931,
    "h": 292.4
  },
  "luminance": 0.28065
}

Semantic roles & 50–950 ramp

primary
#997FED
secondary
#EBF2D6
accent
#D80EA8
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #997FED

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

Preview Lab → · Contrast checker → · Palette generator →

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