#997DDB#997DDB

#997DDB is a light, vivid violet. Relative luminance 0.266; OKLCH L 65.5% C 0.139 H 296.1°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#997DDB
RGBrgb(153, 125, 219)
HSLhsl(258, 57%, 67%)
HSVhsv(258, 43%, 86%)
CMYKcmyk(30.1%, 42.9%, 0%, 14.1%)
CIE-LABlab(58.56, 30.94, -44.37)
CIE-LCHlch(58.56, 54.10, 304.89°)
OKLaboklab(65.52% 0.0609 -0.1244)
OKLCHoklch(65.52% 0.139 296.1)
XYZxyz(33.2535, 26.5536, 70.3775)
Luminance0.2655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DDB #BFDB7D
analogous
#7D90DB #997DDB #C87DDB
triadic
#997DDB #DB997D #7DDB99
tetradic
#997DDB #DB7D90 #BFDB7D #7DDBC8
square
#997DDB #DB7D90 #BFDB7D #7DDBC8
split-complementary
#997DDB #DBC87D #90DB7D
monochromatic
#5530AE #734DCE #997DDB #BFADE8 #E4DDF6

Accessibility & contrast

On white

3.33
#997DDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#997DDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DDB
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DDB#FFFFFF#000000##000000
##997DDB1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#618DDE
Deuteranopia (green-blind)
#668CD9
Tritanopia (blue-blind)
#8B8EA1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #997ddb;
/* rgb */ color: rgb(153, 125, 219);
/* oklch */ color: oklch(65.5% 0.139 296.1);
Tailwind
colors: {
  custom: {
    50: '#b9a3e6',
    500: '#997ddb',
    950: '#000000',
  },
}
SCSS
$custom: #997ddb;
$custom-light: #b9a3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#997ddb",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 219
  },
  "hsl": {
    "h": 257.872,
    "s": 56.627,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65516,
    "c": 0.13851,
    "h": 296.1
  },
  "luminance": 0.26554
}

Semantic roles & 50–950 ramp

primary
#997DDB
secondary
#E0E9CB
accent
#C42194
background
#FBFAFE
surface
#F6F3FC
border
#D0CDD5
text
#120F16
muted
#817F84

Preview Lab

Preview with #997DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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