#997CEF#997CEF

#997CEF is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.5% C 0.166 H 292.9°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#997CEF
RGBrgb(153, 124, 239)
HSLhsl(255, 78%, 71%)
HSVhsv(255, 48%, 94%)
CMYKcmyk(36%, 48.1%, 0%, 6.3%)
CIE-LABlab(59.36, 36.67, -54.26)
CIE-LCHlch(59.36, 65.49, 304.05°)
OKLaboklab(66.46% 0.0648 -0.1532)
OKLCHoklch(66.46% 0.166 292.9)
XYZxyz(35.9204, 27.4188, 85.0444)
Luminance0.2742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CEF #D2EF7C
analogous
#7C98EF #997CEF #D27CEF
triadic
#997CEF #EF997C #7CEF99
tetradic
#997CEF #EF7C98 #D2EF7C #7CEFD2
square
#997CEF #EF7C98 #D2EF7C #7CEFD2
split-complementary
#997CEF #EFD27C #98EF7C
monochromatic
#4A1AD6 #6F45E8 #997CEF #C3B3F6 #EAE4FC

Accessibility & contrast

On white

3.24
#997CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#997CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997CEF
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997CEF#FFFFFF#000000##000000
##997CEF1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5290F3
Deuteranopia (green-blind)
#568DEC
Tritanopia (blue-blind)
#8493AA
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997cef;
/* rgb */ color: rgb(153, 124, 239);
/* oklch */ color: oklch(66.5% 0.166 292.9);
Tailwind
colors: {
  custom: {
    50: '#bba2f5',
    500: '#997cef',
    950: '#000000',
  },
}
SCSS
$custom: #997cef;
$custom-light: #bba2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#997cef",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 239
  },
  "hsl": {
    "h": 255.13,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66455,
    "c": 0.16639,
    "h": 292.9
  },
  "luminance": 0.2742
}

Semantic roles & 50–950 ramp

primary
#997CEF
secondary
#EBF3D4
accent
#DA0BA6
background
#FBFAFF
surface
#F7F3FE
border
#D0CDD6
text
#120F17
muted
#817F85

Preview Lab

Preview with #997CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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