#997BEF#997BEF

#997BEF is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.3% C 0.168 H 293.2°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#997BEF
RGBrgb(153, 123, 239)
HSLhsl(256, 78%, 71%)
HSVhsv(256, 49%, 94%)
CMYKcmyk(36%, 48.5%, 0%, 6.3%)
CIE-LABlab(59.13, 37.24, -54.62)
CIE-LCHlch(59.13, 66.11, 304.28°)
OKLaboklab(66.28% 0.0661 -0.1543)
OKLCHoklch(66.28% 0.168 293.2)
XYZxyz(35.7957, 27.1694, 85.0029)
Luminance0.2717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BEF #D1EF7B
analogous
#7B97EF #997BEF #D37BEF
triadic
#997BEF #EF997B #7BEF99
tetradic
#997BEF #EF7B97 #D1EF7B #7BEFD3
square
#997BEF #EF7B97 #D1EF7B #7BEFD3
split-complementary
#997BEF #EFD37B #97EF7B
monochromatic
#4A1AD6 #6F44E8 #997BEF #C3B2F6 #EAE4FC

Accessibility & contrast

On white

3.26
#997BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#997BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BEF
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BEF#FFFFFF#000000##000000
##997BEF1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5090F3
Deuteranopia (green-blind)
#558CEC
Tritanopia (blue-blind)
#8492AA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #997bef;
/* rgb */ color: rgb(153, 123, 239);
/* oklch */ color: oklch(66.3% 0.168 293.2);
Tailwind
colors: {
  custom: {
    50: '#bba1f5',
    500: '#997bef',
    950: '#000000',
  },
}
SCSS
$custom: #997bef;
$custom-light: #bba1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#997bef",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 255.517,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66284,
    "c": 0.16787,
    "h": 293.2
  },
  "luminance": 0.2717
}

Semantic roles & 50–950 ramp

primary
#997BEF
secondary
#EAF2D3
accent
#DB0BA5
background
#FBFAFF
surface
#F7F3FE
border
#D0CDD6
text
#120F17
muted
#817F85

Preview Lab

Preview with #997BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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