#7A4FF0#7A4FF0

#7A4FF0 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.7% C 0.228 H 289.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7A4FF0
RGBrgb(122, 79, 240)
HSLhsl(256, 84%, 63%)
HSVhsv(256, 67%, 94%)
CMYKcmyk(49.2%, 67.1%, 0%, 5.9%)
CIE-LABlab(47.00, 55.28, -74.89)
CIE-LCHlch(47.00, 93.08, 306.43°)
OKLaboklab(56.72% 0.0754 -0.2148)
OKLCHoklch(56.72% 0.228 289.3)
XYZxyz(26.5457, 16.0197, 84.1146)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FF0 #C5F04F
analogous
#4F74F0 #7A4FF0 #CB4FF0
triadic
#7A4FF0 #F07A4F #4FF07A
tetradic
#7A4FF0 #F04F74 #C5F04F #4FF0CB
square
#7A4FF0 #F04F74 #C5F04F #4FF0CB
split-complementary
#7A4FF0 #F0CB4F #74F04F
monochromatic
#3C0FB5 #4F17EB #7A4FF0 #A587F5 #CFC0FA

Accessibility & contrast

On white

5.00
#7A4FF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7A4FF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FF0
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FF0#FFFFFF#000000##FFFFFF
##7A4FF01.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F5
Deuteranopia (green-blind)
#006BED
Tritanopia (blue-blind)
#517799
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a4ff0;
/* rgb */ color: rgb(122, 79, 240);
/* oklch */ color: oklch(56.7% 0.228 289.3);
Tailwind
colors: {
  custom: {
    50: '#aa83f6',
    500: '#7a4ff0',
    950: '#000000',
  },
}
SCSS
$custom: #7a4ff0;
$custom-light: #aa83f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4ff0",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 240
  },
  "hsl": {
    "h": 256.025,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56715,
    "c": 0.22767,
    "h": 289.3
  },
  "luminance": 0.16021
}

Semantic roles & 50–950 ramp

primary
#7A4FF0
secondary
#DBEBB0
accent
#E105A6
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A4FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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