#7A4EF5#7A4EF5

#7A4EF5 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.235 H 288.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7A4EF5
RGBrgb(122, 78, 245)
HSLhsl(256, 89%, 63%)
HSVhsv(256, 68%, 96%)
CMYKcmyk(50.2%, 68.2%, 0%, 3.9%)
CIE-LABlab(47.21, 57.16, -77.36)
CIE-LCHlch(47.21, 96.19, 306.46°)
OKLaboklab(56.99% 0.0755 -0.2221)
OKLCHoklch(56.99% 0.235 288.8)
XYZxyz(27.2271, 16.1777, 88.0565)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4EF5 #C9F54E
analogous
#4E75F5 #7A4EF5 #CD4EF5
triadic
#7A4EF5 #F57A4E #4EF57A
tetradic
#7A4EF5 #F54E75 #C9F54E #4EF5CD
square
#7A4EF5 #F54E75 #C9F54E #4EF5CD
split-complementary
#7A4EF5 #F5CD4E #75F54E
monochromatic
#3A0BBE #4E14F2 #7A4EF5 #A688F8 #D1C2FC

Accessibility & contrast

On white

4.96
#7A4EF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7A4EF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4EF5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4EF5#FFFFFF#000000##FFFFFF
##7A4EF51.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FA
Deuteranopia (green-blind)
#006CF2
Tritanopia (blue-blind)
#4E799C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7a4ef5;
/* rgb */ color: rgb(122, 78, 245);
/* oklch */ color: oklch(57.0% 0.235 288.8);
Tailwind
colors: {
  custom: {
    50: '#ab83fa',
    500: '#7a4ef5',
    950: '#000000',
  },
}
SCSS
$custom: #7a4ef5;
$custom-light: #ab83fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4ef5",
  "rgb": {
    "r": 122,
    "g": 78,
    "b": 245
  },
  "hsl": {
    "h": 255.808,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56985,
    "c": 0.23454,
    "h": 288.8
  },
  "luminance": 0.16179
}

Semantic roles & 50–950 ramp

primary
#7A4EF5
secondary
#DDEDB2
accent
#E600A9
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A4EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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