#7A5BF6#7A5BF6

#7A5BF6 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.9% C 0.221 H 286.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7A5BF6
RGBrgb(122, 91, 246)
HSLhsl(252, 90%, 66%)
HSVhsv(252, 63%, 96%)
CMYKcmyk(50.4%, 63%, 0%, 3.5%)
CIE-LABlab(49.82, 50.53, -73.65)
CIE-LCHlch(49.82, 89.32, 304.45°)
OKLaboklab(58.9% 0.0634 -0.2112)
OKLCHoklch(58.9% 0.221 286.7)
XYZxyz(28.3968, 18.2722, 89.2015)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5BF6 #D7F65B
analogous
#5B89F6 #7A5BF6 #C75BF6
triadic
#7A5BF6 #F67A5B #5BF67A
tetradic
#7A5BF6 #F65B89 #D7F65B #5BF6C7
square
#7A5BF6 #F65B89 #D7F65B #5BF6C7
split-complementary
#7A5BF6 #F6C75B #89F65B
monochromatic
#320BCB #4B21F3 #7A5BF6 #A995F9 #D8CFFC

Accessibility & contrast

On white

4.51
#7A5BF6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7A5BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5BF6
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5BF6#FFFFFF#000000##000000
##7A5BF61.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFB
Deuteranopia (green-blind)
#0072F3
Tritanopia (blue-blind)
#4C81A0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a5bf6;
/* rgb */ color: rgb(122, 91, 246);
/* oklch */ color: oklch(58.9% 0.221 286.7);
Tailwind
colors: {
  custom: {
    50: '#aa8bfa',
    500: '#7a5bf6',
    950: '#000000',
  },
}
SCSS
$custom: #7a5bf6;
$custom-light: #aa8bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5bf6",
  "rgb": {
    "r": 122,
    "g": 91,
    "b": 246
  },
  "hsl": {
    "h": 252,
    "s": 89.595,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58895,
    "c": 0.2205,
    "h": 286.7
  },
  "luminance": 0.18274
}

Semantic roles & 50–950 ramp

primary
#7A5BF6
secondary
#E6F0BD
accent
#E600B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A5BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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