#997FE3#997FE3

#997FE3 is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.3% C 0.146 H 294.0°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#997FE3
RGBrgb(153, 127, 227)
HSLhsl(256, 64%, 69%)
HSVhsv(256, 44%, 89%)
CMYKcmyk(32.6%, 44.1%, 0%, 11%)
CIE-LABlab(59.43, 31.84, -47.47)
CIE-LCHlch(59.43, 57.16, 303.85°)
OKLaboklab(66.31% 0.0595 -0.1334)
OKLCHoklch(66.31% 0.146 294)
XYZxyz(34.5879, 27.4965, 76.1432)
Luminance0.2750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FE3 #C9E37F
analogous
#7F97E3 #997FE3 #CB7FE3
triadic
#997FE3 #E3997F #7FE399
tetradic
#997FE3 #E37F97 #C9E37F #7FE3CB
square
#997FE3 #E37F97 #C9E37F #7FE3CB
split-complementary
#997FE3 #E3CB7F #97E37F
monochromatic
#502ABE #714DD8 #997FE3 #C1B1EE #E9E3F9

Accessibility & contrast

On white

3.23
#997FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#997FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FE3
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FE3#FFFFFF#000000##000000
##997FE31.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F90E7
Deuteranopia (green-blind)
#638DE1
Tritanopia (blue-blind)
#8892A6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997fe3;
/* rgb */ color: rgb(153, 127, 227);
/* oklch */ color: oklch(66.3% 0.146 294.0);
Tailwind
colors: {
  custom: {
    50: '#baa4ec',
    500: '#997fe3',
    950: '#000000',
  },
}
SCSS
$custom: #997fe3;
$custom-light: #baa4ec;
$custom-dark: #000000;
JSON
{
  "hex": "#997fe3",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 227
  },
  "hsl": {
    "h": 255.6,
    "s": 64.103,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66305,
    "c": 0.14606,
    "h": 294
  },
  "luminance": 0.27497
}

Semantic roles & 50–950 ramp

primary
#997FE3
secondary
#E6EDD0
accent
#CC1A9E
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #997FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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