#997BEB#997BEB

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

Color values

HEX#997BEB
RGBrgb(153, 123, 235)
HSLhsl(256, 74%, 70%)
HSVhsv(256, 48%, 92%)
CMYKcmyk(34.9%, 47.7%, 0%, 7.8%)
CIE-LABlab(58.91, 36.19, -52.74)
CIE-LCHlch(58.91, 63.97, 304.46°)
OKLaboklab(66.05% 0.0657 -0.1488)
OKLCHoklch(66.05% 0.163 293.8)
XYZxyz(35.2114, 26.9357, 81.9251)
Luminance0.2694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BEB #CDEB7B
analogous
#7B95EB #997BEB #D17BEB
triadic
#997BEB #EB997B #7BEB99
tetradic
#997BEB #EB7B95 #CDEB7B #7BEBD1
square
#997BEB #EB7B95 #CDEB7B #7BEBD1
split-complementary
#997BEB #EBD17B #95EB7B
monochromatic
#4D1FCD #7046E3 #997BEB #C2B0F3 #EAE4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##997BEB#FFFFFF#000000##000000
##997BEB1.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)
#538FEF
Deuteranopia (green-blind)
#588CE8
Tritanopia (blue-blind)
#8591A8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #997beb;
/* rgb */ color: rgb(153, 123, 235);
/* oklch */ color: oklch(66.1% 0.163 293.8);
Tailwind
colors: {
  custom: {
    50: '#baa1f2',
    500: '#997beb',
    950: '#000000',
  },
}
SCSS
$custom: #997beb;
$custom-light: #baa1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#997beb",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 235
  },
  "hsl": {
    "h": 256.071,
    "s": 73.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66052,
    "c": 0.16267,
    "h": 293.8
  },
  "luminance": 0.26936
}

Semantic roles & 50–950 ramp

primary
#997BEB
secondary
#E8F0D1
accent
#D610A1
background
#FBFAFE
surface
#F7F3FD
border
#D0CDD5
text
#120F17
muted
#817F85

Preview Lab

Preview with #997BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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