#997CFD#997CFD

#997CFD is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.3% C 0.184 H 291.0°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#997CFD
RGBrgb(153, 124, 253)
HSLhsl(253, 97%, 74%)
HSVhsv(253, 51%, 99%)
CMYKcmyk(39.5%, 51%, 0%, 0.8%)
CIE-LABlab(60.14, 40.38, -60.74)
CIE-LCHlch(60.14, 72.94, 303.61°)
OKLaboklab(67.29% 0.066 -0.1723)
OKLCHoklch(67.29% 0.184 291)
XYZxyz(38.0693, 28.2784, 96.3619)
Luminance0.2828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CFD #E0FD7C
analogous
#7CA0FD #997CFD #D97CFD
triadic
#997CFD #FD997C #7CFD99
tetradic
#997CFD #FD7CA0 #E0FD7C #7CFDD9
square
#997CFD #FD7CA0 #E0FD7C #7CFDD9
split-complementary
#997CFD #FDD97C #A0FD7C
monochromatic
#3B04FB #6A40FC #997CFD #C8B8FE #E8E1FF

Accessibility & contrast

On white

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

On black

6.66
#997CFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997CFD
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997CFD#FFFFFF#000000##000000
##997CFD1.003.166.666.66
#FFFFFF3.161.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4593FF
Deuteranopia (green-blind)
#498EFA
Tritanopia (blue-blind)
#7E97B1
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #997cfd;
/* rgb */ color: rgb(153, 124, 253);
/* oklch */ color: oklch(67.3% 0.184 291.0);
Tailwind
colors: {
  custom: {
    50: '#bca2ff',
    500: '#997cfd',
    950: '#000000',
  },
}
SCSS
$custom: #997cfd;
$custom-light: #bca2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#997cfd",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 253
  },
  "hsl": {
    "h": 253.488,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.67289,
    "c": 0.18447,
    "h": 291
  },
  "luminance": 0.28279
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #997CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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