#7A4CE2#7A4CE2

#7A4CE2 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.2% C 0.215 H 291.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7A4CE2
RGBrgb(122, 76, 226)
HSLhsl(258, 72%, 59%)
HSVhsv(258, 66%, 89%)
CMYKcmyk(46%, 66.4%, 0%, 11.4%)
CIE-LABlab(45.35, 53.03, -69.67)
CIE-LCHlch(45.35, 87.56, 307.28°)
OKLaboklab(55.2% 0.0802 -0.1995)
OKLCHoklch(55.2% 0.215 291.9)
XYZxyz(24.3341, 14.7966, 73.5107)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4CE2 #B4E24C
analogous
#4C69E2 #7A4CE2 #C54CE2
triadic
#7A4CE2 #E27A4C #4CE27A
tetradic
#7A4CE2 #E24C69 #B4E24C #4CE2C5
square
#7A4CE2 #E24C69 #B4E24C #4CE2C5
split-complementary
#7A4CE2 #E2C54C #69E24C
monochromatic
#41199B #5722CF #7A4CE2 #A181EB #C8B5F3

Accessibility & contrast

On white

5.30
#7A4CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7A4CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4CE2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4CE2#FFFFFF#000000##FFFFFF
##7A4CE21.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a4ce2;
/* rgb */ color: rgb(122, 76, 226);
/* oklch */ color: oklch(55.2% 0.215 291.9);
Tailwind
colors: {
  custom: {
    50: '#a881ec',
    500: '#7a4ce2',
    950: '#000000',
  },
}
SCSS
$custom: #7a4ce2;
$custom-light: #a881ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4ce2",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 226
  },
  "hsl": {
    "h": 258.4,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55199,
    "c": 0.215,
    "h": 291.9
  },
  "luminance": 0.14797
}

Semantic roles & 50–950 ramp

primary
#7A4CE2
secondary
#D0E2A8
accent
#EF39B7
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7A4CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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