#7A4BE0#7A4BE0

#7A4BE0 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.9% C 0.214 H 292.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7A4BE0
RGBrgb(122, 75, 224)
HSLhsl(259, 71%, 59%)
HSVhsv(259, 67%, 88%)
CMYKcmyk(45.5%, 66.5%, 0%, 12.2%)
CIE-LABlab(45.01, 53.01, -69.09)
CIE-LCHlch(45.01, 87.08, 307.50°)
OKLaboklab(54.91% 0.0815 -0.1978)
OKLCHoklch(54.91% 0.214 292.4)
XYZxyz(23.9929, 14.5508, 72.0510)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BE0 #B1E04B
analogous
#4B66E0 #7A4BE0 #C44BE0
triadic
#7A4BE0 #E07A4B #4BE07A
tetradic
#7A4BE0 #E04B66 #B1E04B #4BE0C4
square
#7A4BE0 #E04B66 #B1E04B #4BE0C4
split-complementary
#7A4BE0 #E0C44B #66E04B
monochromatic
#411A97 #5823CB #7A4BE0 #A17FE9 #C7B3F2

Accessibility & contrast

On white

5.37
#7A4BE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7A4BE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BE0
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BE0#FFFFFF#000000##FFFFFF
##7A4BE01.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE5
Deuteranopia (green-blind)
#0068DD
Tritanopia (blue-blind)
#5B6F8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a4be0;
/* rgb */ color: rgb(122, 75, 224);
/* oklch */ color: oklch(54.9% 0.214 292.4);
Tailwind
colors: {
  custom: {
    50: '#a880eb',
    500: '#7a4be0',
    950: '#000000',
  },
}
SCSS
$custom: #7a4be0;
$custom-light: #a880eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4be0",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 224
  },
  "hsl": {
    "h": 258.926,
    "s": 70.616,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54906,
    "c": 0.21389,
    "h": 292.4
  },
  "luminance": 0.14552
}

Semantic roles & 50–950 ramp

primary
#7A4BE0
secondary
#CEE1A6
accent
#ED3AB5
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7A4BE0

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

Preview Lab → · Contrast checker → · Palette generator →

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