#997DE3#997DE3

#997DE3 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.0% C 0.149 H 294.6°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#997DE3
RGBrgb(153, 125, 227)
HSLhsl(256, 65%, 69%)
HSVhsv(256, 45%, 89%)
CMYKcmyk(32.6%, 44.9%, 0%, 11%)
CIE-LABlab(58.96, 32.98, -48.21)
CIE-LCHlch(58.96, 58.42, 304.38°)
OKLaboklab(65.95% 0.0621 -0.1356)
OKLCHoklch(65.95% 0.149 294.6)
XYZxyz(34.3321, 26.9850, 76.0580)
Luminance0.2699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DE3 #C7E37D
analogous
#7D94E3 #997DE3 #CC7DE3
triadic
#997DE3 #E3997D #7DE399
tetradic
#997DE3 #E37D94 #C7E37D #7DE3CC
square
#997DE3 #E37D94 #C7E37D #7DE3CC
split-complementary
#997DE3 #E3CC7D #94E37D
monochromatic
#5129BD #714BD8 #997DE3 #C1AFEE #E8E2F9

Accessibility & contrast

On white

3.28
#997DE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#997DE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DE3
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DE3#FFFFFF#000000##000000
##997DE31.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8FE7
Deuteranopia (green-blind)
#618CE1
Tritanopia (blue-blind)
#8890A5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #997de3;
/* rgb */ color: rgb(153, 125, 227);
/* oklch */ color: oklch(66.0% 0.149 294.6);
Tailwind
colors: {
  custom: {
    50: '#baa3ec',
    500: '#997de3',
    950: '#000000',
  },
}
SCSS
$custom: #997de3;
$custom-light: #baa3ec;
$custom-dark: #000000;
JSON
{
  "hex": "#997de3",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 227
  },
  "hsl": {
    "h": 256.471,
    "s": 64.557,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6595,
    "c": 0.14913,
    "h": 294.6
  },
  "luminance": 0.26986
}

Semantic roles & 50–950 ramp

primary
#997DE3
secondary
#E5EDCF
accent
#CC199B
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#120F16
muted
#817F84

Preview Lab

Preview with #997DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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