#7A5BB0#7A5BB0

#7A5BB0 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.1% C 0.131 H 298.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7A5BB0
RGBrgb(122, 91, 176)
HSLhsl(262, 35%, 52%)
HSVhsv(262, 48%, 69%)
CMYKcmyk(30.7%, 48.3%, 0%, 31%)
CIE-LABlab(45.30, 31.20, -40.92)
CIE-LCHlch(45.30, 51.46, 307.33°)
OKLaboklab(54.12% 0.0632 -0.1151)
OKLCHoklch(54.12% 0.131 298.8)
XYZxyz(19.6017, 14.7542, 42.8810)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5BB0 #91B05B
analogous
#5B67B0 #7A5BB0 #A45BB0
triadic
#7A5BB0 #B07A5B #5BB07A
tetradic
#7A5BB0 #B05B67 #91B05B #5BB0A4
square
#7A5BB0 #B05B67 #91B05B #5BB0A4
split-complementary
#7A5BB0 #B0A45B #67B05B
monochromatic
#412F62 #5D438B #7A5BB0 #9B84C4 #BDAED8

Accessibility & contrast

On white

5.32
#7A5BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7A5BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A5BB0
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5BB0#FFFFFF#000000##FFFFFF
##7A5BB01.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406BB3
Deuteranopia (green-blind)
#476AAE
Tritanopia (blue-blind)
#6F6B7D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7a5bb0;
/* rgb */ color: rgb(122, 91, 176);
/* oklch */ color: oklch(54.1% 0.131 298.8);
Tailwind
colors: {
  custom: {
    50: '#a38ac8',
    500: '#7a5bb0',
    950: '#000000',
  },
}
SCSS
$custom: #7a5bb0;
$custom-light: #a38ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5bb0",
  "rgb": {
    "r": 122,
    "g": 91,
    "b": 176
  },
  "hsl": {
    "h": 261.882,
    "s": 34.979,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54116,
    "c": 0.13127,
    "h": 298.8
  },
  "luminance": 0.14754
}

Semantic roles & 50–950 ramp

primary
#7A5BB0
secondary
#B8C6A1
accent
#CB5DA3
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #7A5BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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