#997CDF#997CDF

#997CDF is a light, vivid violet. Relative luminance 0.265; OKLCH L 65.6% C 0.145 H 295.6°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#997CDF
RGBrgb(153, 124, 223)
HSLhsl(258, 61%, 68%)
HSVhsv(258, 44%, 87%)
CMYKcmyk(31.4%, 44.4%, 0%, 12.5%)
CIE-LABlab(58.52, 32.53, -46.67)
CIE-LCHlch(58.52, 56.89, 304.88°)
OKLaboklab(65.55% 0.0629 -0.1311)
OKLCHoklch(65.55% 0.145 295.6)
XYZxyz(33.6605, 26.5148, 73.1422)
Luminance0.2651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CDF #C2DF7C
analogous
#7C90DF #997CDF #CA7CDF
triadic
#997CDF #DF997C #7CDF99
tetradic
#997CDF #DF7C90 #C2DF7C #7CDFCA
square
#997CDF #DF7C90 #C2DF7C #7CDFCA
split-complementary
#997CDF #DFCA7C #90DF7C
monochromatic
#542CB5 #734BD3 #997CDF #BFADEB #E6DEF7

Accessibility & contrast

On white

3.33
#997CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#997CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997CDF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997CDF#FFFFFF#000000##000000
##997CDF1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8DE3
Deuteranopia (green-blind)
#628BDD
Tritanopia (blue-blind)
#8A8EA3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #997cdf;
/* rgb */ color: rgb(153, 124, 223);
/* oklch */ color: oklch(65.6% 0.145 295.6);
Tailwind
colors: {
  custom: {
    50: '#baa2e9',
    500: '#997cdf',
    950: '#000000',
  },
}
SCSS
$custom: #997cdf;
$custom-light: #baa2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#997cdf",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 223
  },
  "hsl": {
    "h": 257.576,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65554,
    "c": 0.14538,
    "h": 295.6
  },
  "luminance": 0.26515
}

Semantic roles & 50–950 ramp

primary
#997CDF
secondary
#E2EBCC
accent
#C81D96
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#120F16
muted
#817F84

Preview Lab

Preview with #997CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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