#7A4FDF#7A4FDF

#7A4FDF is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.4% C 0.208 H 291.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7A4FDF
RGBrgb(122, 79, 223)
HSLhsl(258, 69%, 59%)
HSVhsv(258, 65%, 87%)
CMYKcmyk(45.3%, 64.6%, 0%, 12.5%)
CIE-LABlab(45.71, 50.63, -67.38)
CIE-LCHlch(45.71, 84.29, 306.92°)
OKLaboklab(55.39% 0.0776 -0.1928)
OKLCHoklch(55.39% 0.208 291.9)
XYZxyz(24.1376, 15.0565, 71.4321)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FDF #B4DF4F
analogous
#4F6CDF #7A4FDF #C24FDF
triadic
#7A4FDF #DF7A4F #4FDF7A
tetradic
#7A4FDF #DF4F6C #B4DF4F #4FDFC2
square
#7A4FDF #DF4F6C #B4DF4F #4FDFC2
split-complementary
#7A4FDF #DFC24F #6CDF4F
monochromatic
#411C98 #5725CC #7A4FDF #A183E8 #C8B7F2

Accessibility & contrast

On white

5.24
#7A4FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7A4FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FDF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FDF#FFFFFF#000000##FFFFFF
##7A4FDF1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#5C7190
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7a4fdf;
/* rgb */ color: rgb(122, 79, 223);
/* oklch */ color: oklch(55.4% 0.208 291.9);
Tailwind
colors: {
  custom: {
    50: '#a883ea',
    500: '#7a4fdf',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fdf;
$custom-light: #a883ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fdf",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 257.917,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55385,
    "c": 0.2078,
    "h": 291.9
  },
  "luminance": 0.15057
}

Semantic roles & 50–950 ramp

primary
#7A4FDF
secondary
#D0E1A9
accent
#EC3CB7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7A4FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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