#997CE2#997CE2

#997CE2 is a light, vivid violet. Relative luminance 0.267; OKLCH L 65.7% C 0.149 H 295.1°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#997CE2
RGBrgb(153, 124, 226)
HSLhsl(257, 64%, 69%)
HSVhsv(257, 45%, 89%)
CMYKcmyk(32.3%, 45.1%, 0%, 11.4%)
CIE-LABlab(58.68, 33.30, -48.11)
CIE-LCHlch(58.68, 58.51, 304.69°)
OKLaboklab(65.72% 0.0633 -0.1353)
OKLCHoklch(65.72% 0.149 295.1)
XYZxyz(34.0685, 26.6781, 75.2912)
Luminance0.2668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CE2 #C5E27C
analogous
#7C92E2 #997CE2 #CC7CE2
triadic
#997CE2 #E2997C #7CE299
tetradic
#997CE2 #E27C92 #C5E27C #7CE2CC
square
#997CE2 #E27C92 #C5E27C #7CE2CC
split-complementary
#997CE2 #E2CC7C #92E27C
monochromatic
#5329BA #724AD7 #997CE2 #C0AEED #E7E0F8

Accessibility & contrast

On white

3.31
#997CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#997CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997CE2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997CE2#FFFFFF#000000##000000
##997CE21.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8EE6
Deuteranopia (green-blind)
#608CE0
Tritanopia (blue-blind)
#898FA4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #997ce2;
/* rgb */ color: rgb(153, 124, 226);
/* oklch */ color: oklch(65.7% 0.149 295.1);
Tailwind
colors: {
  custom: {
    50: '#baa2eb',
    500: '#997ce2',
    950: '#000000',
  },
}
SCSS
$custom: #997ce2;
$custom-light: #baa2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#997ce2",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 226
  },
  "hsl": {
    "h": 257.059,
    "s": 63.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65719,
    "c": 0.14934,
    "h": 295.1
  },
  "luminance": 0.26679
}

Semantic roles & 50–950 ramp

primary
#997CE2
secondary
#E3ECCE
accent
#CC1A99
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#120F16
muted
#817F84

Preview Lab

Preview with #997CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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