#997CE3#997CE3

#997CE3 is a light, vivid violet. Relative luminance 0.267; OKLCH L 65.8% C 0.151 H 294.9°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#997CE3
RGBrgb(153, 124, 227)
HSLhsl(257, 65%, 69%)
HSVhsv(257, 45%, 89%)
CMYKcmyk(32.6%, 45.4%, 0%, 11%)
CIE-LABlab(58.73, 33.56, -48.59)
CIE-LCHlch(58.73, 59.05, 304.63°)
OKLaboklab(65.77% 0.0634 -0.1367)
OKLCHoklch(65.77% 0.151 294.9)
XYZxyz(34.2062, 26.7331, 76.0160)
Luminance0.2673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CE3 #C6E37C
analogous
#7C93E3 #997CE3 #CD7CE3
triadic
#997CE3 #E3997C #7CE399
tetradic
#997CE3 #E37C93 #C6E37C #7CE3CD
square
#997CE3 #E37C93 #C6E37C #7CE3CD
split-complementary
#997CE3 #E3CD7C #93E37C
monochromatic
#5228BC #724AD8 #997CE3 #C0AEEE #E8E1F9

Accessibility & contrast

On white

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

On black

6.35
#997CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997CE3
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997CE3#FFFFFF#000000##000000
##997CE31.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8EE7
Deuteranopia (green-blind)
#5F8CE0
Tritanopia (blue-blind)
#888FA5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #997ce3;
/* rgb */ color: rgb(153, 124, 227);
/* oklch */ color: oklch(65.8% 0.151 294.9);
Tailwind
colors: {
  custom: {
    50: '#baa2ec',
    500: '#997ce3',
    950: '#000000',
  },
}
SCSS
$custom: #997ce3;
$custom-light: #baa2ec;
$custom-dark: #000000;
JSON
{
  "hex": "#997ce3",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 227
  },
  "hsl": {
    "h": 256.893,
    "s": 64.78,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65774,
    "c": 0.15067,
    "h": 294.9
  },
  "luminance": 0.26734
}

Semantic roles & 50–950 ramp

primary
#997CE3
secondary
#E4EDCE
accent
#CD199A
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#120F16
muted
#817F84

Preview Lab

Preview with #997CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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