#7A4CB0#7A4CB0

#7A4CB0 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.6% C 0.155 H 302.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#7A4CB0
RGBrgb(122, 76, 176)
HSLhsl(268, 40%, 49%)
HSVhsv(268, 57%, 69%)
CMYKcmyk(30.7%, 56.8%, 0%, 31%)
CIE-LABlab(41.91, 39.87, -46.32)
CIE-LCHlch(41.91, 61.12, 310.73°)
OKLaboklab(51.61% 0.0834 -0.1308)
OKLCHoklch(51.61% 0.155 302.5)
XYZxyz(18.4452, 12.4410, 42.4955)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4CB0 #82B04C
analogous
#4C50B0 #7A4CB0 #AC4CB0
triadic
#7A4CB0 #B07A4C #4CB07A
tetradic
#7A4CB0 #B04C50 #82B04C #4CB0AC
square
#7A4CB0 #B04C50 #82B04C #4CB0AC
split-complementary
#7A4CB0 #B0AC4C #50B04C
monochromatic
#3F275B #5C3A85 #7A4CB0 #9976C4 #B9A0D6

Accessibility & contrast

On white

6.02
#7A4CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7A4CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4CB0
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4CB0#FFFFFF#000000##FFFFFF
##7A4CB01.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2362B3
Deuteranopia (green-blind)
#3463AE
Tritanopia (blue-blind)
#706077
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7a4cb0;
/* rgb */ color: rgb(122, 76, 176);
/* oklch */ color: oklch(51.6% 0.155 302.5);
Tailwind
colors: {
  custom: {
    50: '#a480c8',
    500: '#7a4cb0',
    950: '#000000',
  },
}
SCSS
$custom: #7a4cb0;
$custom-light: #a480c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4cb0",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 176
  },
  "hsl": {
    "h": 267.6,
    "s": 39.683,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51605,
    "c": 0.15518,
    "h": 302.5
  },
  "luminance": 0.12441
}

Semantic roles & 50–950 ramp

primary
#7A4CB0
secondary
#AEC395
accent
#D05899
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #7A4CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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