#997CFC#997CFC

#997CFC is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.2% C 0.183 H 291.1°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#997CFC
RGBrgb(153, 124, 252)
HSLhsl(254, 96%, 74%)
HSVhsv(254, 51%, 99%)
CMYKcmyk(39.3%, 50.8%, 0%, 1.2%)
CIE-LABlab(60.08, 40.11, -60.29)
CIE-LCHlch(60.08, 72.41, 303.64°)
OKLaboklab(67.23% 0.0659 -0.1709)
OKLCHoklch(67.23% 0.183 291.1)
XYZxyz(37.9104, 28.2148, 95.5252)
Luminance0.2822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CFC #DFFC7C
analogous
#7C9FFC #997CFC #D97CFC
triadic
#997CFC #FC997C #7CFC99
tetradic
#997CFC #FC7C9F #DFFC7C #7CFCD9
square
#997CFC #FC7C9F #DFFC7C #7CFCD9
split-complementary
#997CFC #FCD97C #9FFC7C
monochromatic
#3D06F8 #6A40FB #997CFC #C8B8FD #E8E1FE

Accessibility & contrast

On white

3.16
#997CFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#997CFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997CFC
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997CFC#FFFFFF#000000##000000
##997CFC1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4693FF
Deuteranopia (green-blind)
#4A8EF9
Tritanopia (blue-blind)
#7F96B0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #997cfc;
/* rgb */ color: rgb(153, 124, 252);
/* oklch */ color: oklch(67.2% 0.183 291.1);
Tailwind
colors: {
  custom: {
    50: '#bca2fe',
    500: '#997cfc',
    950: '#000000',
  },
}
SCSS
$custom: #997cfc;
$custom-light: #bca2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#997cfc",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 252
  },
  "hsl": {
    "h": 253.594,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.67228,
    "c": 0.18319,
    "h": 291.1
  },
  "luminance": 0.28216
}

Semantic roles & 50–950 ramp

primary
#997CFC
secondary
#EFF7D4
accent
#E600B2
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F18
muted
#817F86

Preview Lab

Preview with #997CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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