#7A5BCD#7A5BCD

#7A5BCD is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.9% C 0.169 H 292.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7A5BCD
RGBrgb(122, 91, 205)
HSLhsl(256, 53%, 58%)
HSVhsv(256, 56%, 80%)
CMYKcmyk(40.5%, 55.6%, 0%, 19.6%)
CIE-LABlab(47.01, 39.00, -55.00)
CIE-LCHlch(47.01, 67.43, 305.34°)
OKLaboklab(55.94% 0.0651 -0.1563)
OKLCHoklch(55.94% 0.169 292.6)
XYZxyz(22.7836, 16.0269, 59.6389)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5BCD #AECD5B
analogous
#5B75CD #7A5BCD #B35BCD
triadic
#7A5BCD #CD7A5B #5BCD7A
tetradic
#7A5BCD #CD5B75 #AECD5B #5BCDB3
square
#7A5BCD #CD5B75 #AECD5B #5BCDB3
split-complementary
#7A5BCD #CDB35B #75CD5B
monochromatic
#422985 #5937B4 #7A5BCD #A08ADB #C6B9EA

Accessibility & contrast

On white

4.99
#7A5BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7A5BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A5BCD
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5BCD#FFFFFF#000000##FFFFFF
##7A5BCD1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2071D1
Deuteranopia (green-blind)
#296DCA
Tritanopia (blue-blind)
#64738B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a5bcd;
/* rgb */ color: rgb(122, 91, 205);
/* oklch */ color: oklch(55.9% 0.169 292.6);
Tailwind
colors: {
  custom: {
    50: '#a58add',
    500: '#7a5bcd',
    950: '#000000',
  },
}
SCSS
$custom: #7a5bcd;
$custom-light: #a58add;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5bcd",
  "rgb": {
    "r": 122,
    "g": 91,
    "b": 205
  },
  "hsl": {
    "h": 256.316,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55943,
    "c": 0.16936,
    "h": 292.6
  },
  "luminance": 0.16028
}

Semantic roles & 50–950 ramp

primary
#7A5BCD
secondary
#CCD9AB
accent
#DD4BB5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7A5BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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