#997BEC#997BEC

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

Color values

HEX#997BEC
RGBrgb(153, 123, 236)
HSLhsl(256, 75%, 70%)
HSVhsv(256, 48%, 93%)
CMYKcmyk(35.2%, 47.9%, 0%, 7.5%)
CIE-LABlab(58.97, 36.45, -53.21)
CIE-LCHlch(58.97, 64.50, 304.41°)
OKLaboklab(66.11% 0.0658 -0.1502)
OKLCHoklch(66.11% 0.164 293.7)
XYZxyz(35.3562, 26.9936, 82.6881)
Luminance0.2699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BEC #CEEC7B
analogous
#7B95EC #997BEC #D17BEC
triadic
#997BEC #EC997B #7BEC99
tetradic
#997BEC #EC7B95 #CEEC7B #7BECD1
square
#997BEC #EC7B95 #CEEC7B #7BECD1
split-complementary
#997BEC #ECD17B #95EC7B
monochromatic
#4D1ECF #7046E4 #997BEC #C2B0F4 #EAE4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##997BEC#FFFFFF#000000##000000
##997BEC1.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)
#528FF0
Deuteranopia (green-blind)
#578CE9
Tritanopia (blue-blind)
#8591A8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #997bec;
/* rgb */ color: rgb(153, 123, 236);
/* oklch */ color: oklch(66.1% 0.164 293.7);
Tailwind
colors: {
  custom: {
    50: '#baa1f3',
    500: '#997bec',
    950: '#000000',
  },
}
SCSS
$custom: #997bec;
$custom-light: #baa1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#997bec",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 255.929,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66109,
    "c": 0.16398,
    "h": 293.7
  },
  "luminance": 0.26994
}

Semantic roles & 50–950 ramp

primary
#997BEC
secondary
#E9F1D2
accent
#D70FA2
background
#FBFAFE
surface
#F7F3FD
border
#D0CDD5
text
#120F17
muted
#817F85

Preview Lab

Preview with #997BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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