#7A4DF0#7A4DF0

#7A4DF0 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.4% C 0.230 H 289.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7A4DF0
RGBrgb(122, 77, 240)
HSLhsl(257, 84%, 62%)
HSVhsv(257, 68%, 94%)
CMYKcmyk(49.2%, 67.9%, 0%, 5.9%)
CIE-LABlab(46.63, 56.31, -75.50)
CIE-LCHlch(46.63, 94.19, 306.71°)
OKLaboklab(56.45% 0.0772 -0.2166)
OKLCHoklch(56.45% 0.23 289.6)
XYZxyz(26.4036, 15.7355, 84.0672)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4DF0 #C3F04D
analogous
#4D72F0 #7A4DF0 #CB4DF0
triadic
#7A4DF0 #F07A4D #4DF07A
tetradic
#7A4DF0 #F04D72 #C3F04D #4DF0CB
square
#7A4DF0 #F04D72 #C3F04D #4DF0CB
split-complementary
#7A4DF0 #F0CB4D #72F04D
monochromatic
#3C0FB3 #5015EB #7A4DF0 #A485F5 #CEBEFA

Accessibility & contrast

On white

5.06
#7A4DF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7A4DF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4DF0
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4DF0#FFFFFF#000000##FFFFFF
##7A4DF01.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F5
Deuteranopia (green-blind)
#006BED
Tritanopia (blue-blind)
#517699
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a4df0;
/* rgb */ color: rgb(122, 77, 240);
/* oklch */ color: oklch(56.4% 0.230 289.6);
Tailwind
colors: {
  custom: {
    50: '#aa82f6',
    500: '#7a4df0',
    950: '#000000',
  },
}
SCSS
$custom: #7a4df0;
$custom-light: #aa82f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4df0",
  "rgb": {
    "r": 122,
    "g": 77,
    "b": 240
  },
  "hsl": {
    "h": 256.564,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56447,
    "c": 0.22996,
    "h": 289.6
  },
  "luminance": 0.15737
}

Semantic roles & 50–950 ramp

primary
#7A4DF0
secondary
#DAEAAE
accent
#E105A4
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A4DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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