#7A5BF5#7A5BF5

#7A5BF5 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.8% C 0.219 H 286.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7A5BF5
RGBrgb(122, 91, 245)
HSLhsl(252, 89%, 66%)
HSVhsv(252, 63%, 96%)
CMYKcmyk(50.2%, 62.9%, 0%, 3.9%)
CIE-LABlab(49.75, 50.25, -73.21)
CIE-LCHlch(49.75, 88.79, 304.46°)
OKLaboklab(58.82% 0.0635 -0.2099)
OKLCHoklch(58.82% 0.219 286.8)
XYZxyz(28.2437, 18.2110, 88.3954)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5BF5 #D6F55B
analogous
#5B89F5 #7A5BF5 #C75BF5
triadic
#7A5BF5 #F57A5B #5BF57A
tetradic
#7A5BF5 #F55B89 #D6F55B #5BF5C7
square
#7A5BF5 #F55B89 #D6F55B #5BF5C7
split-complementary
#7A5BF5 #F5C75B #89F55B
monochromatic
#320CC9 #4B21F1 #7A5BF5 #A995F9 #D8CEFC

Accessibility & contrast

On white

4.52
#7A5BF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7A5BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5BF5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5BF5#FFFFFF#000000##000000
##7A5BF51.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFA
Deuteranopia (green-blind)
#0072F2
Tritanopia (blue-blind)
#4C80A0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a5bf5;
/* rgb */ color: rgb(122, 91, 245);
/* oklch */ color: oklch(58.8% 0.219 286.8);
Tailwind
colors: {
  custom: {
    50: '#aa8bf9',
    500: '#7a5bf5',
    950: '#000000',
  },
}
SCSS
$custom: #7a5bf5;
$custom-light: #aa8bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5bf5",
  "rgb": {
    "r": 122,
    "g": 91,
    "b": 245
  },
  "hsl": {
    "h": 252.078,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.58818,
    "c": 0.21929,
    "h": 286.8
  },
  "luminance": 0.18212
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A5BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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