#9A7DCE#9A7DCE

#9A7DCE is a light, vivid violet. Relative luminance 0.260; OKLCH L 64.9% C 0.121 H 299.5°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9A7DCE
RGBrgb(154, 125, 206)
HSLhsl(261, 45%, 65%)
HSVhsv(261, 39%, 81%)
CMYKcmyk(25.2%, 39.3%, 0%, 19.2%)
CIE-LABlab(58.03, 28.00, -37.88)
CIE-LCHlch(58.03, 47.11, 306.47°)
OKLaboklab(64.94% 0.0597 -0.1055)
OKLCHoklch(64.94% 0.121 299.5)
XYZxyz(31.7981, 25.9933, 61.7225)
Luminance0.2599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A7DCE #B1CE7D
analogous
#7D89CE #9A7DCE #C27DCE
triadic
#9A7DCE #CE9A7D #7DCE9A
tetradic
#9A7DCE #CE7D89 #B1CE7D #7DCEC2
square
#9A7DCE #CE7D89 #B1CE7D #7DCEC2
split-complementary
#9A7DCE #CEC27D #89CE7D
monochromatic
#5B3997 #7751BD #9A7DCE #BDA9DF #DFD6F0

Accessibility & contrast

On white

3.39
#9A7DCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#9A7DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A7DCE
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A7DCE#FFFFFF#000000##000000
##9A7DCE1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#688BD1
Deuteranopia (green-blind)
#6E8BCC
Tritanopia (blue-blind)
#908B9C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9a7dce;
/* rgb */ color: rgb(154, 125, 206);
/* oklch */ color: oklch(64.9% 0.121 299.5);
Tailwind
colors: {
  custom: {
    50: '#b9a3dd',
    500: '#9a7dce',
    950: '#000000',
  },
}
SCSS
$custom: #9a7dce;
$custom-light: #b9a3dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a7dce",
  "rgb": {
    "r": 154,
    "g": 125,
    "b": 206
  },
  "hsl": {
    "h": 261.481,
    "s": 45.251,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64936,
    "c": 0.12127,
    "h": 299.5
  },
  "luminance": 0.25993
}

Semantic roles & 50–950 ramp

primary
#9A7DCE
secondary
#D7E1C6
accent
#B82D87
background
#FBFAFD
surface
#F6F3FB
border
#D0CDD4
text
#120F15
muted
#817F83

Preview Lab

Preview with #9A7DCE

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

Preview Lab → · Contrast checker → · Palette generator →

#9A7DCE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva