#997CF2#997CF2

#997CF2 is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.6% C 0.170 H 292.5°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#997CF2
RGBrgb(153, 124, 242)
HSLhsl(255, 82%, 72%)
HSVhsv(255, 49%, 95%)
CMYKcmyk(36.8%, 48.8%, 0%, 5.1%)
CIE-LABlab(59.52, 37.46, -55.66)
CIE-LCHlch(59.52, 67.09, 303.94°)
OKLaboklab(66.63% 0.0651 -0.1573)
OKLCHoklch(66.63% 0.17 292.5)
XYZxyz(36.3673, 27.5976, 87.3980)
Luminance0.2760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CF2 #D5F27C
analogous
#7C9AF2 #997CF2 #D47CF2
triadic
#997CF2 #F2997C #7CF299
tetradic
#997CF2 #F27C9A #D5F27C #7CF2D4
square
#997CF2 #F27C9A #D5F27C #7CF2D4
split-complementary
#997CF2 #F2D47C #9AF27C
monochromatic
#4716DE #6E44EC #997CF2 #C4B4F8 #E9E3FC

Accessibility & contrast

On white

3.22
#997CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#997CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997CF2
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997CF2#FFFFFF#000000##000000
##997CF21.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F91F6
Deuteranopia (green-blind)
#548DEF
Tritanopia (blue-blind)
#8393AC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997cf2;
/* rgb */ color: rgb(153, 124, 242);
/* oklch */ color: oklch(66.6% 0.170 292.5);
Tailwind
colors: {
  custom: {
    50: '#bba2f7',
    500: '#997cf2',
    950: '#000000',
  },
}
SCSS
$custom: #997cf2;
$custom-light: #bba2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#997cf2",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 254.746,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.6663,
    "c": 0.17029,
    "h": 292.5
  },
  "luminance": 0.27598
}

Semantic roles & 50–950 ramp

primary
#997CF2
secondary
#EDF4D6
accent
#DE07A9
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F17
muted
#817F85

Preview Lab

Preview with #997CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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