#997FC2#997FC2

#997FC2 is a light, moderate violet. Relative luminance 0.258; OKLCH L 64.6% C 0.102 H 301.5°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#997FC2
RGBrgb(153, 127, 194)
HSLhsl(263, 35%, 63%)
HSVhsv(263, 35%, 76%)
CMYKcmyk(21.1%, 34.5%, 0%, 23.9%)
CIE-LABlab(57.89, 23.68, -31.31)
CIE-LCHlch(57.89, 39.26, 307.09°)
OKLaboklab(64.63% 0.053 -0.0866)
OKLCHoklch(64.63% 0.102 301.5)
XYZxyz(30.4618, 25.8460, 54.4125)
Luminance0.2585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FC2 #A8C27F
analogous
#7F86C2 #997FC2 #BB7FC2
triadic
#997FC2 #C2997F #7FC299
tetradic
#997FC2 #C27F86 #A8C27F #7FC2BB
square
#997FC2 #C27F86 #A8C27F #7FC2BB
split-complementary
#997FC2 #C2BB7F #86C27F
monochromatic
#5B4087 #7856AE #997FC2 #BAA8D6 #DBD2EA

Accessibility & contrast

On white

3.40
#997FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#997FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FC2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FC2#FFFFFF#000000##000000
##997FC21.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#708BC5
Deuteranopia (green-blind)
#758BC0
Tritanopia (blue-blind)
#928A98
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #997fc2;
/* rgb */ color: rgb(153, 127, 194);
/* oklch */ color: oklch(64.6% 0.102 301.5);
Tailwind
colors: {
  custom: {
    50: '#b8a4d4',
    500: '#997fc2',
    950: '#000000',
  },
}
SCSS
$custom: #997fc2;
$custom-light: #b8a4d4;
$custom-dark: #000000;
JSON
{
  "hex": "#997fc2",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 263.284,
    "s": 35.45,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64632,
    "c": 0.10158,
    "h": 301.5
  },
  "luminance": 0.25846
}

Semantic roles & 50–950 ramp

primary
#997FC2
secondary
#D1DAC2
accent
#AE3780
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#110F14
muted
#807F83

Preview Lab

Preview with #997FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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