#997FE2#997FE2

#997FE2 is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.3% C 0.145 H 294.2°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#997FE2
RGBrgb(153, 127, 226)
HSLhsl(256, 63%, 69%)
HSVhsv(256, 44%, 89%)
CMYKcmyk(32.3%, 43.8%, 0%, 11.4%)
CIE-LABlab(59.38, 31.58, -46.99)
CIE-LCHlch(59.38, 56.62, 303.90°)
OKLaboklab(66.25% 0.0593 -0.132)
OKLCHoklch(66.25% 0.145 294.2)
XYZxyz(34.4502, 27.4414, 75.4185)
Luminance0.2744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FE2 #C8E27F
analogous
#7F97E2 #997FE2 #CB7FE2
triadic
#997FE2 #E2997F #7FE299
tetradic
#997FE2 #E27F97 #C8E27F #7FE2CB
square
#997FE2 #E27F97 #C8E27F #7FE2CB
split-complementary
#997FE2 #E2CB7F #97E27F
monochromatic
#512BBC #714DD7 #997FE2 #C1B1ED #E9E3F9

Accessibility & contrast

On white

3.24
#997FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#997FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FE2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FE2#FFFFFF#000000##000000
##997FE21.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6090E6
Deuteranopia (green-blind)
#648DE0
Tritanopia (blue-blind)
#8891A6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997fe2;
/* rgb */ color: rgb(153, 127, 226);
/* oklch */ color: oklch(66.3% 0.145 294.2);
Tailwind
colors: {
  custom: {
    50: '#baa4eb',
    500: '#997fe2',
    950: '#000000',
  },
}
SCSS
$custom: #997fe2;
$custom-light: #baa4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#997fe2",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 255.758,
    "s": 63.057,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6625,
    "c": 0.14473,
    "h": 294.2
  },
  "luminance": 0.27442
}

Semantic roles & 50–950 ramp

primary
#997FE2
secondary
#E5EDD0
accent
#CB1B9D
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #997FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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