#7B5AAE#7B5AAE

#7B5AAE is a mid, vivid violet. Relative luminance 0.146; OKLCH L 53.9% C 0.130 H 300.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7B5AAE
RGBrgb(123, 90, 174)
HSLhsl(264, 34%, 52%)
HSVhsv(264, 48%, 68%)
CMYKcmyk(29.3%, 48.3%, 0%, 31.8%)
CIE-LABlab(45.05, 31.55, -40.12)
CIE-LCHlch(45.05, 51.04, 308.18°)
OKLaboklab(53.92% 0.0656 -0.1127)
OKLCHoklch(53.92% 0.13 300.2)
XYZxyz(19.4628, 14.5792, 41.8249)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5AAE #8DAE5A
analogous
#5A63AE #7B5AAE #A55AAE
triadic
#7B5AAE #AE7B5A #5AAE7B
tetradic
#7B5AAE #AE5A63 #8DAE5A #5AAEA5
square
#7B5AAE #AE5A63 #8DAE5A #5AAEA5
split-complementary
#7B5AAE #AEA55A #63AE5A
monochromatic
#422F5F #5E4388 #7B5AAE #9C83C2 #BDACD6

Accessibility & contrast

On white

5.36
#7B5AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7B5AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B5AAE
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5AAE#FFFFFF#000000##FFFFFF
##7B5AAE1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406AB1
Deuteranopia (green-blind)
#486AAC
Tritanopia (blue-blind)
#71697C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b5aae;
/* rgb */ color: rgb(123, 90, 174);
/* oklch */ color: oklch(53.9% 0.130 300.2);
Tailwind
colors: {
  custom: {
    50: '#a389c6',
    500: '#7b5aae',
    950: '#000000',
  },
}
SCSS
$custom: #7b5aae;
$custom-light: #a389c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5aae",
  "rgb": {
    "r": 123,
    "g": 90,
    "b": 174
  },
  "hsl": {
    "h": 263.571,
    "s": 34.146,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53923,
    "c": 0.13042,
    "h": 300.2
  },
  "luminance": 0.14579
}

Semantic roles & 50–950 ramp

primary
#7B5AAE
secondary
#B6C49F
accent
#CA5EA0
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #7B5AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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