#997CF0#997CF0

#997CF0 is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.5% C 0.168 H 292.8°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#997CF0
RGBrgb(153, 124, 240)
HSLhsl(255, 79%, 71%)
HSVhsv(255, 48%, 94%)
CMYKcmyk(36.3%, 48.3%, 0%, 5.9%)
CIE-LABlab(59.41, 36.93, -54.72)
CIE-LCHlch(59.41, 66.02, 304.01°)
OKLaboklab(66.51% 0.0649 -0.1546)
OKLCHoklch(66.51% 0.168 292.8)
XYZxyz(36.0686, 27.4781, 85.8246)
Luminance0.2748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CF0 #D3F07C
analogous
#7C99F0 #997CF0 #D37CF0
triadic
#997CF0 #F0997C #7CF099
tetradic
#997CF0 #F07C99 #D3F07C #7CF0D3
square
#997CF0 #F07C99 #D3F07C #7CF0D3
split-complementary
#997CF0 #F0D37C #99F07C
monochromatic
#4919D9 #6E45EA #997CF0 #C4B3F6 #EAE4FC

Accessibility & contrast

On white

3.23
#997CF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#997CF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997CF0
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997CF0#FFFFFF#000000##000000
##997CF01.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5191F4
Deuteranopia (green-blind)
#558DED
Tritanopia (blue-blind)
#8393AB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997cf0;
/* rgb */ color: rgb(153, 124, 240);
/* oklch */ color: oklch(66.5% 0.168 292.8);
Tailwind
colors: {
  custom: {
    50: '#bba2f5',
    500: '#997cf0',
    950: '#000000',
  },
}
SCSS
$custom: #997cf0;
$custom-light: #bba2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#997cf0",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 240
  },
  "hsl": {
    "h": 255,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66513,
    "c": 0.16769,
    "h": 292.8
  },
  "luminance": 0.27479
}

Semantic roles & 50–950 ramp

primary
#997CF0
secondary
#EBF3D5
accent
#DC0AA7
background
#FBFAFF
surface
#F7F3FE
border
#D0CDD6
text
#120F17
muted
#817F85

Preview Lab

Preview with #997CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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