#997CEA#997CEA

#997CEA is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.2% C 0.160 H 293.7°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#997CEA
RGBrgb(153, 124, 234)
HSLhsl(256, 72%, 70%)
HSVhsv(256, 47%, 92%)
CMYKcmyk(34.6%, 47%, 0%, 8.2%)
CIE-LABlab(59.09, 35.36, -51.91)
CIE-LCHlch(59.09, 62.81, 304.27°)
OKLaboklab(66.17% 0.0643 -0.1464)
OKLCHoklch(66.17% 0.16 293.7)
XYZxyz(35.1920, 27.1274, 81.2079)
Luminance0.2713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CEA #CDEA7C
analogous
#7C96EA #997CEA #D07CEA
triadic
#997CEA #EA997C #7CEA99
tetradic
#997CEA #EA7C96 #CDEA7C #7CEAD0
square
#997CEA #EA7C96 #CDEA7C #7CEAD0
split-complementary
#997CEA #EAD07C #96EA7C
monochromatic
#4D21CB #7047E2 #997CEA #C2B1F2 #EAE5FB

Accessibility & contrast

On white

3.27
#997CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#997CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997CEA
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997CEA#FFFFFF#000000##000000
##997CEA1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#568FEE
Deuteranopia (green-blind)
#5A8CE7
Tritanopia (blue-blind)
#8691A8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #997cea;
/* rgb */ color: rgb(153, 124, 234);
/* oklch */ color: oklch(66.2% 0.160 293.7);
Tailwind
colors: {
  custom: {
    50: '#baa2f1',
    500: '#997cea',
    950: '#000000',
  },
}
SCSS
$custom: #997cea;
$custom-light: #baa2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#997cea",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 234
  },
  "hsl": {
    "h": 255.818,
    "s": 72.368,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66167,
    "c": 0.15987,
    "h": 293.7
  },
  "luminance": 0.27128
}

Semantic roles & 50–950 ramp

primary
#997CEA
secondary
#E8F0D2
accent
#D411A1
background
#FBFAFE
surface
#F7F3FD
border
#D0CDD5
text
#120F17
muted
#817F85

Preview Lab

Preview with #997CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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