#997CCB#997CCB

#997CCB is a light, moderate violet. Relative luminance 0.255; OKLCH L 64.5% C 0.119 H 300.0°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#997CCB
RGBrgb(153, 124, 203)
HSLhsl(262, 43%, 64%)
HSVhsv(262, 39%, 80%)
CMYKcmyk(24.6%, 38.9%, 0%, 20.4%)
CIE-LABlab(57.56, 27.56, -36.93)
CIE-LCHlch(57.56, 46.08, 306.73°)
OKLaboklab(64.51% 0.0594 -0.1028)
OKLCHoklch(64.51% 0.119 300)
XYZxyz(31.1216, 25.4993, 59.7706)
Luminance0.2550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CCB #AECB7C
analogous
#7C87CB #997CCB #C07CCB
triadic
#997CCB #CB997C #7CCB99
tetradic
#997CCB #CB7C87 #AECB7C #7CCBC0
square
#997CCB #CB7C87 #AECB7C #7CCBC0
split-complementary
#997CCB #CBC07C #87CB7C
monochromatic
#5B3A92 #7750BA #997CCB #BBA8DC #DDD4EE

Accessibility & contrast

On white

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

On black

6.10
#997CCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997CCB
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997CCB#FFFFFF#000000##000000
##997CCB1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACE
Deuteranopia (green-blind)
#6D8AC9
Tritanopia (blue-blind)
#90899A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #997ccb;
/* rgb */ color: rgb(153, 124, 203);
/* oklch */ color: oklch(64.5% 0.119 300.0);
Tailwind
colors: {
  custom: {
    50: '#b8a2db',
    500: '#997ccb',
    950: '#000000',
  },
}
SCSS
$custom: #997ccb;
$custom-light: #b8a2db;
$custom-dark: #000000;
JSON
{
  "hex": "#997ccb",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 203
  },
  "hsl": {
    "h": 262.025,
    "s": 43.169,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6451,
    "c": 0.11872,
    "h": 300
  },
  "luminance": 0.25499
}

Semantic roles & 50–950 ramp

primary
#997CCB
secondary
#D5DFC4
accent
#B62F85
background
#FBFAFD
surface
#F6F3FB
border
#D0CDD4
text
#110F15
muted
#807F83

Preview Lab

Preview with #997CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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