#7A4BE8#7A4BE8

#7A4BE8 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.5% C 0.223 H 291.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7A4BE8
RGBrgb(122, 75, 232)
HSLhsl(258, 77%, 60%)
HSVhsv(258, 68%, 91%)
CMYKcmyk(47.4%, 67.7%, 0%, 9%)
CIE-LABlab(45.63, 55.17, -72.62)
CIE-LCHlch(45.63, 91.20, 307.22°)
OKLaboklab(55.54% 0.0803 -0.2081)
OKLCHoklch(55.54% 0.223 291.1)
XYZxyz(25.1035, 14.9950, 77.8999)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BE8 #B9E84B
analogous
#4B6AE8 #7A4BE8 #C94BE8
triadic
#7A4BE8 #E87A4B #4BE87A
tetradic
#7A4BE8 #E84B6A #B9E84B #4BE8C9
square
#7A4BE8 #E84B6A #B9E84B #4BE8C9
split-complementary
#7A4BE8 #E8C94B #6AE84B
monochromatic
#4015A4 #551CDA #7A4BE8 #A281EF #CAB8F6

Accessibility & contrast

On white

5.25
#7A4BE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7A4BE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BE8
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BE8#FFFFFF#000000##FFFFFF
##7A4BE81.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FED
Deuteranopia (green-blind)
#0069E5
Tritanopia (blue-blind)
#577294
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7a4be8;
/* rgb */ color: rgb(122, 75, 232);
/* oklch */ color: oklch(55.5% 0.223 291.1);
Tailwind
colors: {
  custom: {
    50: '#a980f0',
    500: '#7a4be8',
    950: '#000000',
  },
}
SCSS
$custom: #7a4be8;
$custom-light: #a980f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4be8",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 232
  },
  "hsl": {
    "h": 257.962,
    "s": 77.34,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55538,
    "c": 0.22311,
    "h": 291.1
  },
  "luminance": 0.14996
}

Semantic roles & 50–950 ramp

primary
#7A4BE8
secondary
#D3E6A9
accent
#DA0C9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7A4BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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