#7A5BBD#7A5BBD

#7A5BBD is a mid, vivid violet. Relative luminance 0.153; OKLCH L 54.9% C 0.149 H 295.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7A5BBD
RGBrgb(122, 91, 189)
HSLhsl(259, 43%, 55%)
HSVhsv(259, 52%, 74%)
CMYKcmyk(35.4%, 51.9%, 0%, 25.9%)
CIE-LABlab(46.03, 34.65, -47.33)
CIE-LCHlch(46.03, 58.65, 306.21°)
OKLaboklab(54.91% 0.0644 -0.1338)
OKLCHoklch(54.91% 0.149 295.7)
XYZxyz(20.9501, 15.2935, 49.9824)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5BBD #9EBD5B
analogous
#5B6DBD #7A5BBD #AB5BBD
triadic
#7A5BBD #BD7A5B #5BBD7A
tetradic
#7A5BBD #BD5B6D #9EBD5B #5BBDAB
square
#7A5BBD #BD5B6D #9EBD5B #5BBDAB
split-complementary
#7A5BBD #BDAB5B #6DBD5B
monochromatic
#422D70 #5C3F9C #7A5BBD #9D87CF #C1B2E0

Accessibility & contrast

On white

5.17
#7A5BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7A5BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A5BBD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5BBD#FFFFFF#000000##FFFFFF
##7A5BBD1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356EC0
Deuteranopia (green-blind)
#3C6CBB
Tritanopia (blue-blind)
#6A6E83
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7a5bbd;
/* rgb */ color: rgb(122, 91, 189);
/* oklch */ color: oklch(54.9% 0.149 295.7);
Tailwind
colors: {
  custom: {
    50: '#a48ad1',
    500: '#7a5bbd',
    950: '#000000',
  },
}
SCSS
$custom: #7a5bbd;
$custom-light: #a48ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5bbd",
  "rgb": {
    "r": 122,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 258.98,
    "s": 42.609,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54906,
    "c": 0.14852,
    "h": 295.7
  },
  "luminance": 0.15294
}

Semantic roles & 50–950 ramp

primary
#7A5BBD
secondary
#C1CFA5
accent
#D255AB
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7A5BBD

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

Preview Lab → · Contrast checker → · Palette generator →

#7A5BBD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva