#7A4BDD#7A4BDD

#7A4BDD is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.7% C 0.210 H 292.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7A4BDD
RGBrgb(122, 75, 221)
HSLhsl(259, 68%, 58%)
HSVhsv(259, 66%, 87%)
CMYKcmyk(44.8%, 66.1%, 0%, 13.3%)
CIE-LABlab(44.79, 52.21, -67.75)
CIE-LCHlch(44.79, 85.53, 307.62°)
OKLaboklab(54.67% 0.0819 -0.1938)
OKLCHoklch(54.67% 0.21 292.9)
XYZxyz(23.5897, 14.3895, 69.9271)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BDD #AEDD4B
analogous
#4B65DD #7A4BDD #C34BDD
triadic
#7A4BDD #DD7A4B #4BDD7A
tetradic
#7A4BDD #DD4B65 #AEDD4B #4BDDC3
square
#7A4BDD #DD4B65 #AEDD4B #4BDDC3
split-complementary
#7A4BDD #DDC34B #65DD4B
monochromatic
#421C92 #5925C5 #7A4BDD #A07EE7 #C6B2F0

Accessibility & contrast

On white

5.42
#7A4BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7A4BDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BDD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BDD#FFFFFF#000000##FFFFFF
##7A4BDD1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE1
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#5D6E8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a4bdd;
/* rgb */ color: rgb(122, 75, 221);
/* oklch */ color: oklch(54.7% 0.210 292.9);
Tailwind
colors: {
  custom: {
    50: '#a880e9',
    500: '#7a4bdd',
    950: '#000000',
  },
}
SCSS
$custom: #7a4bdd;
$custom-light: #a880e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4bdd",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 221
  },
  "hsl": {
    "h": 259.315,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54672,
    "c": 0.21042,
    "h": 292.9
  },
  "luminance": 0.1439
}

Semantic roles & 50–950 ramp

primary
#7A4BDD
secondary
#CCDFA5
accent
#EB3DB3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7A4BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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