#7A5BE7#7A5BE7

#7A5BE7 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 57.8% C 0.202 H 288.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7A5BE7
RGBrgb(122, 91, 231)
HSLhsl(253, 74%, 63%)
HSVhsv(253, 61%, 91%)
CMYKcmyk(47.2%, 60.6%, 0%, 9.4%)
CIE-LABlab(48.75, 46.27, -66.99)
CIE-LCHlch(48.75, 81.42, 304.64°)
OKLaboklab(57.77% 0.0646 -0.1916)
OKLCHoklch(57.77% 0.202 288.6)
XYZxyz(26.1868, 17.3882, 77.5623)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5BE7 #C8E75B
analogous
#5B82E7 #7A5BE7 #C05BE7
triadic
#7A5BE7 #E77A5B #5BE77A
tetradic
#7A5BE7 #E75B82 #C8E75B #5BE7C0
square
#7A5BE7 #E75B82 #C8E75B #5BE7C0
split-complementary
#7A5BE7 #E7C05B #82E75B
monochromatic
#3A19AE #4F26DF #7A5BE7 #A590EF #D1C6F7

Accessibility & contrast

On white

4.69
#7A5BE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7A5BE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A5BE7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5BE7#FFFFFF#000000##FFFFFF
##7A5BE71.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#0070E4
Tritanopia (blue-blind)
#567C98
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a5be7;
/* rgb */ color: rgb(122, 91, 231);
/* oklch */ color: oklch(57.8% 0.202 288.6);
Tailwind
colors: {
  custom: {
    50: '#a88bef',
    500: '#7a5be7',
    950: '#000000',
  },
}
SCSS
$custom: #7a5be7;
$custom-light: #a88bef;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5be7",
  "rgb": {
    "r": 122,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 253.286,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.5777,
    "c": 0.20217,
    "h": 288.6
  },
  "luminance": 0.17389
}

Semantic roles & 50–950 ramp

primary
#7A5BE7
secondary
#DDE8B6
accent
#D70FAA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7A5BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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