#997CD7#997CD7

#997CD7 is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.1% C 0.135 H 297.2°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#997CD7
RGBrgb(153, 124, 215)
HSLhsl(259, 53%, 66%)
HSVhsv(259, 42%, 84%)
CMYKcmyk(28.8%, 42.3%, 0%, 15.7%)
CIE-LABlab(58.13, 30.51, -42.81)
CIE-LCHlch(58.13, 52.57, 305.48°)
OKLaboklab(65.13% 0.0616 -0.1198)
OKLCHoklch(65.13% 0.135 297.2)
XYZxyz(32.6073, 26.0936, 67.5955)
Luminance0.2609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CD7 #BAD77C
analogous
#7C8DD7 #997CD7 #C77CD7
triadic
#997CD7 #D7997C #7CD799
tetradic
#997CD7 #D77C8D #BAD77C #7CD7C7
square
#997CD7 #D77C8D #BAD77C #7CD7C7
split-complementary
#997CD7 #D7C77C #8DD77C
monochromatic
#5733A6 #744DC9 #997CD7 #BEABE5 #E2DAF4

Accessibility & contrast

On white

3.38
#997CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#997CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997CD7
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997CD7#FFFFFF#000000##000000
##997CD71.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#628CDA
Deuteranopia (green-blind)
#678BD5
Tritanopia (blue-blind)
#8C8C9F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #997cd7;
/* rgb */ color: rgb(153, 124, 215);
/* oklch */ color: oklch(65.1% 0.135 297.2);
Tailwind
colors: {
  custom: {
    50: '#b9a2e4',
    500: '#997cd7',
    950: '#000000',
  },
}
SCSS
$custom: #997cd7;
$custom-light: #b9a2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#997cd7",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 215
  },
  "hsl": {
    "h": 259.121,
    "s": 53.216,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65125,
    "c": 0.13475,
    "h": 297.2
  },
  "luminance": 0.26094
}

Semantic roles & 50–950 ramp

primary
#997CD7
secondary
#DDE6C9
accent
#C1258F
background
#FBFAFD
surface
#F6F3FB
border
#D0CDD4
text
#120F15
muted
#817F83

Preview Lab

Preview with #997CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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