#7A4FE0#7A4FE0

#7A4FE0 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.5% C 0.209 H 291.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7A4FE0
RGBrgb(122, 79, 224)
HSLhsl(258, 70%, 59%)
HSVhsv(258, 65%, 88%)
CMYKcmyk(45.5%, 64.7%, 0%, 12.2%)
CIE-LABlab(45.79, 50.91, -67.83)
CIE-LCHlch(45.79, 84.81, 306.89°)
OKLaboklab(55.46% 0.0775 -0.1941)
OKLCHoklch(55.46% 0.209 291.8)
XYZxyz(24.2728, 15.1105, 72.1443)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FE0 #B5E04F
analogous
#4F6DE0 #7A4FE0 #C24FE0
triadic
#7A4FE0 #E07A4F #4FE07A
tetradic
#7A4FE0 #E04F6D #B5E04F #4FE0C2
square
#7A4FE0 #E04F6D #B5E04F #4FE0C2
split-complementary
#7A4FE0 #E0C24F #6DE04F
monochromatic
#411B9A #5624CE #7A4FE0 #A183E9 #C9B7F2

Accessibility & contrast

On white

5.22
#7A4FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7A4FE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FE0
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FE0#FFFFFF#000000##FFFFFF
##7A4FE01.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE4
Deuteranopia (green-blind)
#0069DD
Tritanopia (blue-blind)
#5B7291
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7a4fe0;
/* rgb */ color: rgb(122, 79, 224);
/* oklch */ color: oklch(55.5% 0.209 291.8);
Tailwind
colors: {
  custom: {
    50: '#a883eb',
    500: '#7a4fe0',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fe0;
$custom-light: #a883eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fe0",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 224
  },
  "hsl": {
    "h": 257.793,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55462,
    "c": 0.20899,
    "h": 291.8
  },
  "luminance": 0.15111
}

Semantic roles & 50–950 ramp

primary
#7A4FE0
secondary
#D1E2A9
accent
#ED3BB8
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7A4FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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