#997DE2#997DE2

#997DE2 is a light, vivid violet. Relative luminance 0.269; OKLCH L 65.9% C 0.148 H 294.8°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#997DE2
RGBrgb(153, 125, 226)
HSLhsl(257, 64%, 69%)
HSVhsv(257, 45%, 89%)
CMYKcmyk(32.3%, 44.7%, 0%, 11.4%)
CIE-LABlab(58.91, 32.73, -47.74)
CIE-LCHlch(58.91, 57.88, 304.43°)
OKLaboklab(65.9% 0.062 -0.1342)
OKLCHoklch(65.9% 0.148 294.8)
XYZxyz(34.1945, 26.9300, 75.3332)
Luminance0.2693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DE2 #C6E27D
analogous
#7D94E2 #997DE2 #CC7DE2
triadic
#997DE2 #E2997D #7DE299
tetradic
#997DE2 #E27D94 #C6E27D #7DE2CC
square
#997DE2 #E27D94 #C6E27D #7DE2CC
split-complementary
#997DE2 #E2CC7D #94E27D
monochromatic
#522ABB #724BD7 #997DE2 #C0AFED #E8E1F8

Accessibility & contrast

On white

3.29
#997DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#997DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DE2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DE2#FFFFFF#000000##000000
##997DE21.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8FE6
Deuteranopia (green-blind)
#618CE0
Tritanopia (blue-blind)
#8990A5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #997de2;
/* rgb */ color: rgb(153, 125, 226);
/* oklch */ color: oklch(65.9% 0.148 294.8);
Tailwind
colors: {
  custom: {
    50: '#baa3eb',
    500: '#997de2',
    950: '#000000',
  },
}
SCSS
$custom: #997de2;
$custom-light: #baa3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#997de2",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 256.634,
    "s": 63.522,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65895,
    "c": 0.1478,
    "h": 294.8
  },
  "luminance": 0.26931
}

Semantic roles & 50–950 ramp

primary
#997DE2
secondary
#E4ECCE
accent
#CB1A9A
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#120F16
muted
#817F84

Preview Lab

Preview with #997DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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