#997FCF#997FCF

#997FCF is a light, moderate violet. Relative luminance 0.265; OKLCH L 65.3% C 0.119 H 298.0°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#997FCF
RGBrgb(153, 127, 207)
HSLhsl(260, 45%, 65%)
HSVhsv(260, 39%, 81%)
CMYKcmyk(26.1%, 38.6%, 0%, 18.8%)
CIE-LABlab(58.47, 26.81, -37.77)
CIE-LCHlch(58.47, 46.32, 305.36°)
OKLaboklab(65.26% 0.0559 -0.1052)
OKLCHoklch(65.26% 0.119 298)
XYZxyz(31.9861, 26.4558, 62.4407)
Luminance0.2646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997FCF #B5CF7F
analogous
#7F8DCF #997FCF #C17FCF
triadic
#997FCF #CF997F #7FCF99
tetradic
#997FCF #CF7F8D #B5CF7F #7FCFC1
square
#997FCF #CF7F8D #B5CF7F #7FCFC1
split-complementary
#997FCF #CFC17F #8DCF7F
monochromatic
#593A9A #7652BE #997FCF #BCACE0 #E0D8F0

Accessibility & contrast

On white

3.34
#997FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#997FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997FCF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997FCF#FFFFFF#000000##000000
##997FCF1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8DD2
Deuteranopia (green-blind)
#6E8CCD
Tritanopia (blue-blind)
#8E8D9D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #997fcf;
/* rgb */ color: rgb(153, 127, 207);
/* oklch */ color: oklch(65.3% 0.119 298.0);
Tailwind
colors: {
  custom: {
    50: '#b8a4de',
    500: '#997fcf',
    950: '#000000',
  },
}
SCSS
$custom: #997fcf;
$custom-light: #b8a4de;
$custom-dark: #000000;
JSON
{
  "hex": "#997fcf",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 207
  },
  "hsl": {
    "h": 259.5,
    "s": 45.455,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6526,
    "c": 0.11918,
    "h": 298
  },
  "luminance": 0.26456
}

Semantic roles & 50–950 ramp

primary
#997FCF
secondary
#DAE2C8
accent
#B92D8B
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#110F15
muted
#807F83

Preview Lab

Preview with #997FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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