#997CCC#997CCC

#997CCC is a light, vivid violet. Relative luminance 0.255; OKLCH L 64.6% C 0.120 H 299.7°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#997CCC
RGBrgb(153, 124, 204)
HSLhsl(262, 44%, 64%)
HSVhsv(262, 39%, 80%)
CMYKcmyk(25%, 39.2%, 0%, 20%)
CIE-LABlab(57.60, 27.80, -37.43)
CIE-LCHlch(57.60, 46.62, 306.61°)
OKLaboklab(64.56% 0.0596 -0.1042)
OKLCHoklch(64.56% 0.12 299.7)
XYZxyz(31.2411, 25.5471, 60.4002)
Luminance0.2555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CCC #AFCC7C
analogous
#7C87CC #997CCC #C17CCC
triadic
#997CCC #CC997C #7CCC99
tetradic
#997CCC #CC7C87 #AFCC7C #7CCCC1
square
#997CCC #CC7C87 #AFCC7C #7CCCC1
split-complementary
#997CCC #CCC17C #87CC7C
monochromatic
#5A3A94 #7750BB #997CCC #BBA8DD #DED4EE

Accessibility & contrast

On white

3.44
#997CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#997CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997CCC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997CCC#FFFFFF#000000##000000
##997CCC1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#678ACF
Deuteranopia (green-blind)
#6D8ACA
Tritanopia (blue-blind)
#8F899A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #997ccc;
/* rgb */ color: rgb(153, 124, 204);
/* oklch */ color: oklch(64.6% 0.120 299.7);
Tailwind
colors: {
  custom: {
    50: '#b8a2dc',
    500: '#997ccc',
    950: '#000000',
  },
}
SCSS
$custom: #997ccc;
$custom-light: #b8a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#997ccc",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 204
  },
  "hsl": {
    "h": 261.75,
    "s": 43.956,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6456,
    "c": 0.12006,
    "h": 299.7
  },
  "luminance": 0.25547
}

Semantic roles & 50–950 ramp

primary
#997CCC
secondary
#D6E0C4
accent
#B72E86
background
#FBFAFD
surface
#F6F3FB
border
#D0CDD4
text
#110F15
muted
#807F83

Preview Lab

Preview with #997CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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