#7A5BF4#7A5BF4

#7A5BF4 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.7% C 0.218 H 287.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7A5BF4
RGBrgb(122, 91, 244)
HSLhsl(252, 87%, 66%)
HSVhsv(252, 63%, 96%)
CMYKcmyk(50%, 62.7%, 0%, 4.3%)
CIE-LABlab(49.68, 49.96, -72.77)
CIE-LCHlch(49.68, 88.27, 304.47°)
OKLaboklab(58.74% 0.0636 -0.2086)
OKLCHoklch(58.74% 0.218 287)
XYZxyz(28.0915, 18.1501, 87.5935)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5BF4 #D5F45B
analogous
#5B88F4 #7A5BF4 #C75BF4
triadic
#7A5BF4 #F47A5B #5BF47A
tetradic
#7A5BF4 #F45B88 #D5F45B #5BF4C7
square
#7A5BF4 #F45B88 #D5F45B #5BF4C7
split-complementary
#7A5BF4 #F4C75B #88F45B
monochromatic
#330DC7 #4B22F0 #7A5BF4 #A994F8 #D7CEFC

Accessibility & contrast

On white

4.54
#7A5BF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7A5BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5BF4
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5BF4#FFFFFF#000000##000000
##7A5BF41.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF9
Deuteranopia (green-blind)
#0072F1
Tritanopia (blue-blind)
#4D809F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a5bf4;
/* rgb */ color: rgb(122, 91, 244);
/* oklch */ color: oklch(58.7% 0.218 287.0);
Tailwind
colors: {
  custom: {
    50: '#aa8bf9',
    500: '#7a5bf4',
    950: '#000000',
  },
}
SCSS
$custom: #7a5bf4;
$custom-light: #aa8bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5bf4",
  "rgb": {
    "r": 122,
    "g": 91,
    "b": 244
  },
  "hsl": {
    "h": 252.157,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58742,
    "c": 0.21808,
    "h": 287
  },
  "luminance": 0.18151
}

Semantic roles & 50–950 ramp

primary
#7A5BF4
secondary
#E5EFBC
accent
#E402B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A5BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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