#7A4FBC#7A4FBC

#7A4FBC is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.9% C 0.165 H 298.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7A4FBC
RGBrgb(122, 79, 188)
HSLhsl(264, 45%, 52%)
HSVhsv(264, 58%, 74%)
CMYKcmyk(35.1%, 58%, 0%, 26.3%)
CIE-LABlab(43.30, 41.28, -51.12)
CIE-LCHlch(43.30, 65.71, 308.92°)
OKLaboklab(52.87% 0.0797 -0.1449)
OKLCHoklch(52.87% 0.165 298.8)
XYZxyz(19.8969, 13.3602, 49.0977)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FBC #91BC4F
analogous
#4F5ABC #7A4FBC #B14FBC
triadic
#7A4FBC #BC7A4F #4FBC7A
tetradic
#7A4FBC #BC4F5A #91BC4F #4FBCB1
square
#7A4FBC #BC4F5A #91BC4F #4FBCB1
split-complementary
#7A4FBC #BCB14F #5ABC4F
monochromatic
#412869 #5D3995 #7A4FBC #9B7BCD #BDA8DE

Accessibility & contrast

On white

5.72
#7A4FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7A4FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FBC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FBC#FFFFFF#000000##FFFFFF
##7A4FBC1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1866C0
Deuteranopia (green-blind)
#2B65BA
Tritanopia (blue-blind)
#6B667E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7a4fbc;
/* rgb */ color: rgb(122, 79, 188);
/* oklch */ color: oklch(52.9% 0.165 298.8);
Tailwind
colors: {
  custom: {
    50: '#a482d1',
    500: '#7a4fbc',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fbc;
$custom-light: #a482d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fbc",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 263.67,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52868,
    "c": 0.16543,
    "h": 298.8
  },
  "luminance": 0.1336
}

Semantic roles & 50–950 ramp

primary
#7A4FBC
secondary
#B8CB9C
accent
#D553A2
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7A4FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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