#997FCA#997FCA

#997FCA is a light, moderate violet. Relative luminance 0.262; OKLCH L 65.0% C 0.112 H 299.2°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#997FCA
RGBrgb(153, 127, 202)
HSLhsl(261, 41%, 65%)
HSVhsv(261, 37%, 79%)
CMYKcmyk(24.3%, 37.1%, 0%, 20.8%)
CIE-LABlab(58.24, 25.59, -35.30)
CIE-LCHlch(58.24, 43.60, 305.94°)
OKLaboklab(65.01% 0.0549 -0.0981)
OKLCHoklch(65.01% 0.112 299.2)
XYZxyz(31.3845, 26.2151, 59.2722)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FCA #B0CA7F
analogous
#7F8BCA #997FCA #BF7FCA
triadic
#997FCA #CA997F #7FCA99
tetradic
#997FCA #CA7F8B #B0CA7F #7FCABF
square
#997FCA #CA7F8B #B0CA7F #7FCABF
split-complementary
#997FCA #CABF7F #8BCA7F
monochromatic
#5A3C92 #7754B8 #997FCA #BBAADC #DED6EE

Accessibility & contrast

On white

3.36
#997FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#997FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FCA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FCA#FFFFFF#000000##000000
##997FCA1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8CCD
Deuteranopia (green-blind)
#718BC8
Tritanopia (blue-blind)
#908B9B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #997fca;
/* rgb */ color: rgb(153, 127, 202);
/* oklch */ color: oklch(65.0% 0.112 299.2);
Tailwind
colors: {
  custom: {
    50: '#b8a4da',
    500: '#997fca',
    950: '#000000',
  },
}
SCSS
$custom: #997fca;
$custom-light: #b8a4da;
$custom-dark: #000000;
JSON
{
  "hex": "#997fca",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 260.8,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65014,
    "c": 0.11242,
    "h": 299.2
  },
  "luminance": 0.26215
}

Semantic roles & 50–950 ramp

primary
#997FCA
secondary
#D6DFC5
accent
#B43187
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#110F15
muted
#807F83

Preview Lab

Preview with #997FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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