#7A4BEE#7A4BEE

#7A4BEE is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.0% C 0.230 H 290.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7A4BEE
RGBrgb(122, 75, 238)
HSLhsl(257, 83%, 61%)
HSVhsv(257, 68%, 93%)
CMYKcmyk(48.7%, 68.5%, 0%, 6.7%)
CIE-LABlab(46.10, 56.78, -75.24)
CIE-LCHlch(46.10, 94.26, 307.04°)
OKLaboklab(56.02% 0.0793 -0.2158)
OKLCHoklch(56.02% 0.23 290.2)
XYZxyz(25.9703, 15.3417, 82.4652)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BEE #BFEE4B
analogous
#4B6EEE #7A4BEE #CC4BEE
triadic
#7A4BEE #EE7A4B #4BEE7A
tetradic
#7A4BEE #EE4B6E #BFEE4B #4BEECC
square
#7A4BEE #EE4B6E #BFEE4B #4BEECC
split-complementary
#7A4BEE #EECC4B #6EEE4B
monochromatic
#3E10AE #5216E6 #7A4BEE #A383F3 #CDBBF9

Accessibility & contrast

On white

5.16
#7A4BEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7A4BEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BEE
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BEE#FFFFFF#000000##FFFFFF
##7A4BEE1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F3
Deuteranopia (green-blind)
#0069EB
Tritanopia (blue-blind)
#537597
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7a4bee;
/* rgb */ color: rgb(122, 75, 238);
/* oklch */ color: oklch(56.0% 0.230 290.2);
Tailwind
colors: {
  custom: {
    50: '#aa81f5',
    500: '#7a4bee',
    950: '#000000',
  },
}
SCSS
$custom: #7a4bee;
$custom-light: #aa81f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4bee",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 238
  },
  "hsl": {
    "h": 257.301,
    "s": 82.741,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56021,
    "c": 0.22995,
    "h": 290.2
  },
  "luminance": 0.15343
}

Semantic roles & 50–950 ramp

primary
#7A4BEE
secondary
#D7E9AC
accent
#DF06A1
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110A17
muted
#807C85

Preview Lab

Preview with #7A4BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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