#9A7BCC#9A7BCC

#9A7BCC is a light, vivid violet. Relative luminance 0.254; OKLCH L 64.5% C 0.122 H 300.7°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9A7BCC
RGBrgb(154, 123, 204)
HSLhsl(263, 44%, 64%)
HSVhsv(263, 40%, 80%)
CMYKcmyk(24.5%, 39.7%, 0%, 20%)
CIE-LABlab(57.46, 28.67, -37.65)
CIE-LCHlch(57.46, 47.32, 307.29°)
OKLaboklab(64.47% 0.0622 -0.1049)
OKLCHoklch(64.47% 0.122 300.7)
XYZxyz(31.3060, 25.3955, 60.3675)
Luminance0.2540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A7BCC #ADCC7B
analogous
#7B85CC #9A7BCC #C37BCC
triadic
#9A7BCC #CC9A7B #7BCC9A
tetradic
#9A7BCC #CC7B85 #ADCC7B #7BCCC3
square
#9A7BCC #CC7B85 #ADCC7B #7BCCC3
split-complementary
#9A7BCC #CCC37B #85CC7B
monochromatic
#5C3994 #784FBB #9A7BCC #BCA7DD #DED3EE

Accessibility & contrast

On white

3.45
#9A7BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#9A7BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A7BCC
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A7BCC#FFFFFF#000000##000000
##9A7BCC1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#668ACF
Deuteranopia (green-blind)
#6D8ACA
Tritanopia (blue-blind)
#91889A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9a7bcc;
/* rgb */ color: rgb(154, 123, 204);
/* oklch */ color: oklch(64.5% 0.122 300.7);
Tailwind
colors: {
  custom: {
    50: '#b9a1dc',
    500: '#9a7bcc',
    950: '#000000',
  },
}
SCSS
$custom: #9a7bcc;
$custom-light: #b9a1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a7bcc",
  "rgb": {
    "r": 154,
    "g": 123,
    "b": 204
  },
  "hsl": {
    "h": 262.963,
    "s": 44.262,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64472,
    "c": 0.1219,
    "h": 300.7
  },
  "luminance": 0.25396
}

Semantic roles & 50–950 ramp

primary
#9A7BCC
secondary
#D5E0C3
accent
#B72E83
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120F15
muted
#817E83

Preview Lab

Preview with #9A7BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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