#7A4BE2#7A4BE2

#7A4BE2 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.1% C 0.216 H 292.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7A4BE2
RGBrgb(122, 75, 226)
HSLhsl(259, 72%, 59%)
HSVhsv(259, 67%, 89%)
CMYKcmyk(46%, 66.8%, 0%, 11.4%)
CIE-LABlab(45.16, 53.55, -69.98)
CIE-LCHlch(45.16, 88.12, 307.42°)
OKLaboklab(55.06% 0.0812 -0.2004)
OKLCHoklch(55.06% 0.216 292.1)
XYZxyz(24.2658, 14.6599, 73.4879)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BE2 #B3E24B
analogous
#4B68E2 #7A4BE2 #C54BE2
triadic
#7A4BE2 #E27A4B #4BE27A
tetradic
#7A4BE2 #E24B68 #B3E24B #4BE2C5
square
#7A4BE2 #E24B68 #B3E24B #4BE2C5
split-complementary
#7A4BE2 #E2C54B #68E24B
monochromatic
#41199A #5721CF #7A4BE2 #A180EA #C8B4F3

Accessibility & contrast

On white

5.34
#7A4BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7A4BE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BE2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BE2#FFFFFF#000000##FFFFFF
##7A4BE21.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#5A7090
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7a4be2;
/* rgb */ color: rgb(122, 75, 226);
/* oklch */ color: oklch(55.1% 0.216 292.1);
Tailwind
colors: {
  custom: {
    50: '#a880ec',
    500: '#7a4be2',
    950: '#000000',
  },
}
SCSS
$custom: #7a4be2;
$custom-light: #a880ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4be2",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 226
  },
  "hsl": {
    "h": 258.675,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55062,
    "c": 0.21621,
    "h": 292.1
  },
  "luminance": 0.14661
}

Semantic roles & 50–950 ramp

primary
#7A4BE2
secondary
#D0E2A7
accent
#EF39B6
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7A4BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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