#7A4DE9#7A4DE9

#7A4DE9 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.9% C 0.222 H 290.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7A4DE9
RGBrgb(122, 77, 233)
HSLhsl(257, 78%, 61%)
HSVhsv(257, 67%, 91%)
CMYKcmyk(47.6%, 67%, 0%, 8.6%)
CIE-LABlab(46.08, 54.41, -72.45)
CIE-LCHlch(46.08, 90.60, 306.90°)
OKLaboklab(55.89% 0.0783 -0.2076)
OKLCHoklch(55.89% 0.222 290.7)
XYZxyz(25.3837, 15.3275, 78.6960)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4DE9 #BCE94D
analogous
#4D6EE9 #7A4DE9 #C84DE9
triadic
#7A4DE9 #E97A4D #4DE97A
tetradic
#7A4DE9 #E94D6E #BCE94D #4DE9C8
square
#7A4DE9 #E94D6E #BCE94D #4DE9C8
split-complementary
#7A4DE9 #E9C84D #6EE94D
monochromatic
#3F15A7 #531BDD #7A4DE9 #A383F0 #CBBAF6

Accessibility & contrast

On white

5.17
#7A4DE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A4DE9
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4DE9#FFFFFF#000000##FFFFFF
##7A4DE91.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EE
Deuteranopia (green-blind)
#006AE6
Tritanopia (blue-blind)
#567495
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7a4de9;
/* rgb */ color: rgb(122, 77, 233);
/* oklch */ color: oklch(55.9% 0.222 290.7);
Tailwind
colors: {
  custom: {
    50: '#a982f1',
    500: '#7a4de9',
    950: '#000000',
  },
}
SCSS
$custom: #7a4de9;
$custom-light: #a982f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4de9",
  "rgb": {
    "r": 122,
    "g": 77,
    "b": 233
  },
  "hsl": {
    "h": 257.308,
    "s": 78,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55886,
    "c": 0.22192,
    "h": 290.7
  },
  "luminance": 0.15329
}

Semantic roles & 50–950 ramp

primary
#7A4DE9
secondary
#D5E6AB
accent
#DA0B9F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A4DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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