#7A4FDE#7A4FDE

#7A4FDE is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.3% C 0.207 H 292.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7A4FDE
RGBrgb(122, 79, 222)
HSLhsl(258, 68%, 59%)
HSVhsv(258, 64%, 87%)
CMYKcmyk(45%, 64.4%, 0%, 12.9%)
CIE-LABlab(45.64, 50.36, -66.94)
CIE-LCHlch(45.64, 83.77, 306.96°)
OKLaboklab(55.31% 0.0777 -0.1914)
OKLCHoklch(55.31% 0.207 292.1)
XYZxyz(24.0032, 15.0027, 70.7242)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FDE #B3DE4F
analogous
#4F6CDE #7A4FDE #C24FDE
triadic
#7A4FDE #DE7A4F #4FDE7A
tetradic
#7A4FDE #DE4F6C #B3DE4F #4FDEC2
square
#7A4FDE #DE4F6C #B3DE4F #4FDEC2
split-complementary
#7A4FDE #DEC24F #6CDE4F
monochromatic
#411C96 #5726CA #7A4FDE #A183E8 #C8B6F1

Accessibility & contrast

On white

5.25
#7A4FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7A4FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FDE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FDE#FFFFFF#000000##FFFFFF
##7A4FDE1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a4fde;
/* rgb */ color: rgb(122, 79, 222);
/* oklch */ color: oklch(55.3% 0.207 292.1);
Tailwind
colors: {
  custom: {
    50: '#a883e9',
    500: '#7a4fde',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fde;
$custom-light: #a883e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fde",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 222
  },
  "hsl": {
    "h": 258.042,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55309,
    "c": 0.20662,
    "h": 292.1
  },
  "luminance": 0.15003
}

Semantic roles & 50–950 ramp

primary
#7A4FDE
secondary
#D0E0A8
accent
#EB3DB7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7A4FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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