#7A5BD2#7A5BD2

#7A5BD2 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.3% C 0.176 H 291.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7A5BD2
RGBrgb(122, 91, 210)
HSLhsl(256, 57%, 59%)
HSVhsv(256, 57%, 82%)
CMYKcmyk(41.9%, 56.7%, 0%, 17.6%)
CIE-LABlab(47.33, 40.39, -57.35)
CIE-LCHlch(47.33, 70.15, 305.15°)
OKLaboklab(56.28% 0.0652 -0.1632)
OKLCHoklch(56.28% 0.176 291.8)
XYZxyz(23.3968, 16.2722, 62.8684)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5BD2 #B3D25B
analogous
#5B78D2 #7A5BD2 #B65BD2
triadic
#7A5BD2 #D27A5B #5BD27A
tetradic
#7A5BD2 #D25B78 #B3D25B #5BD2B6
square
#7A5BD2 #D25B78 #B3D25B #5BD2B6
split-complementary
#7A5BD2 #D2B65B #78D25B
monochromatic
#41268C #5734BC #7A5BD2 #A18BDF #C8BBEC

Accessibility & contrast

On white

4.94
#7A5BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7A5BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A5BD2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5BD2#FFFFFF#000000##FFFFFF
##7A5BD21.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1572D6
Deuteranopia (green-blind)
#206ECF
Tritanopia (blue-blind)
#62758E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7a5bd2;
/* rgb */ color: rgb(122, 91, 210);
/* oklch */ color: oklch(56.3% 0.176 291.8);
Tailwind
colors: {
  custom: {
    50: '#a68ae0',
    500: '#7a5bd2',
    950: '#000000',
  },
}
SCSS
$custom: #7a5bd2;
$custom-light: #a68ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5bd2",
  "rgb": {
    "r": 122,
    "g": 91,
    "b": 210
  },
  "hsl": {
    "h": 255.63,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56281,
    "c": 0.17578,
    "h": 291.8
  },
  "luminance": 0.16273
}

Semantic roles & 50–950 ramp

primary
#7A5BD2
secondary
#D0DCAD
accent
#E048B8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7A5BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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