#997BE3#997BE3

#997BE3 is a light, vivid violet. Relative luminance 0.265; OKLCH L 65.6% C 0.152 H 295.2°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#997BE3
RGBrgb(153, 123, 227)
HSLhsl(257, 65%, 69%)
HSVhsv(257, 46%, 89%)
CMYKcmyk(32.6%, 45.8%, 0%, 11%)
CIE-LABlab(58.49, 34.13, -48.95)
CIE-LCHlch(58.49, 59.68, 304.88°)
OKLaboklab(65.6% 0.0647 -0.1377)
OKLCHoklch(65.6% 0.152 295.2)
XYZxyz(34.0815, 26.4837, 75.9744)
Luminance0.2648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997BE3 #C5E37B
analogous
#7B91E3 #997BE3 #CD7BE3
triadic
#997BE3 #E3997B #7BE399
tetradic
#997BE3 #E37B91 #C5E37B #7BE3CD
square
#997BE3 #E37B91 #C5E37B #7BE3CD
split-complementary
#997BE3 #E3CD7B #91E37B
monochromatic
#5328BC #7249D8 #997BE3 #C0ADEE #E7E0F8

Accessibility & contrast

On white

3.34
#997BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#997BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997BE3
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997BE3#FFFFFF#000000##000000
##997BE31.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#598EE7
Deuteranopia (green-blind)
#5E8BE0
Tritanopia (blue-blind)
#888FA4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #997be3;
/* rgb */ color: rgb(153, 123, 227);
/* oklch */ color: oklch(65.6% 0.152 295.2);
Tailwind
colors: {
  custom: {
    50: '#baa1ec',
    500: '#997be3',
    950: '#000000',
  },
}
SCSS
$custom: #997be3;
$custom-light: #baa1ec;
$custom-dark: #000000;
JSON
{
  "hex": "#997be3",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 227
  },
  "hsl": {
    "h": 257.308,
    "s": 65,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65599,
    "c": 0.15219,
    "h": 295.2
  },
  "luminance": 0.26484
}

Semantic roles & 50–950 ramp

primary
#997BE3
secondary
#E3ECCD
accent
#CD1999
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120F16
muted
#817E84

Preview Lab

Preview with #997BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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