#7A5BD6#7A5BD6

#7A5BD6 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.6% C 0.181 H 291.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7A5BD6
RGBrgb(122, 91, 214)
HSLhsl(255, 60%, 60%)
HSVhsv(255, 57%, 84%)
CMYKcmyk(43%, 57.5%, 0%, 16.1%)
CIE-LABlab(47.59, 41.50, -59.22)
CIE-LCHlch(47.59, 72.31, 305.02°)
OKLaboklab(56.56% 0.0652 -0.1687)
OKLCHoklch(56.56% 0.181 291.1)
XYZxyz(23.9014, 16.4740, 65.5258)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5BD6 #B7D65B
analogous
#5B7AD6 #7A5BD6 #B85BD6
triadic
#7A5BD6 #D67A5B #5BD67A
tetradic
#7A5BD6 #D65B7A #B7D65B #5BD6B8
square
#7A5BD6 #D65B7A #B7D65B #5BD6B8
split-complementary
#7A5BD6 #D6B85B #7AD65B
monochromatic
#402592 #5631C3 #7A5BD6 #A28CE2 #C9BDEE

Accessibility & contrast

On white

4.89
#7A5BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7A5BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A5BD6
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5BD6#FFFFFF#000000##FFFFFF
##7A5BD61.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0773DA
Deuteranopia (green-blind)
#166ED3
Tritanopia (blue-blind)
#607690
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7a5bd6;
/* rgb */ color: rgb(122, 91, 214);
/* oklch */ color: oklch(56.6% 0.181 291.1);
Tailwind
colors: {
  custom: {
    50: '#a68ae3',
    500: '#7a5bd6',
    950: '#000000',
  },
}
SCSS
$custom: #7a5bd6;
$custom-light: #a68ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5bd6",
  "rgb": {
    "r": 122,
    "g": 91,
    "b": 214
  },
  "hsl": {
    "h": 255.122,
    "s": 60,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56557,
    "c": 0.18087,
    "h": 291.1
  },
  "luminance": 0.16475
}

Semantic roles & 50–950 ramp

primary
#7A5BD6
secondary
#D2DEAF
accent
#E345BB
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7A5BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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