#7A3BA2#7A3BA2

#7A3BA2 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.2% C 0.165 H 309.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#7A3BA2
RGBrgb(122, 59, 162)
HSLhsl(277, 47%, 43%)
HSVhsv(277, 64%, 64%)
CMYKcmyk(24.7%, 63.6%, 0%, 36.5%)
CIE-LABlab(37.62, 45.61, -44.87)
CIE-LCHlch(37.62, 63.98, 315.47°)
OKLaboklab(48.19% 0.1053 -0.1265)
OKLCHoklch(48.19% 0.165 309.8)
XYZxyz(16.1103, 9.8744, 35.2327)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3BA2 #63A23B
analogous
#463BA2 #7A3BA2 #A23B96
triadic
#7A3BA2 #A27A3B #3BA27A
tetradic
#7A3BA2 #A2463B #63A23B #3B96A2
square
#7A3BA2 #A2463B #63A23B #3B96A2
split-complementary
#7A3BA2 #96A23B #3BA246
monochromatic
#361A48 #582B75 #7A3BA2 #9958C2 #B485D3

Accessibility & contrast

On white

7.06
#7A3BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7A3BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A3BA2
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3BA2#FFFFFF#000000##FFFFFF
##7A3BA21.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0556A5
Deuteranopia (green-blind)
#2D59A0
Tritanopia (blue-blind)
#754F69
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7a3ba2;
/* rgb */ color: rgb(122, 59, 162);
/* oklch */ color: oklch(48.2% 0.165 309.8);
Tailwind
colors: {
  custom: {
    50: '#a475be',
    500: '#7a3ba2',
    950: '#000000',
  },
}
SCSS
$custom: #7a3ba2;
$custom-light: #a475be;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3ba2",
  "rgb": {
    "r": 122,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 276.699,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48191,
    "c": 0.1646,
    "h": 309.8
  },
  "luminance": 0.09874
}

Semantic roles & 50–950 ramp

primary
#7A3BA2
secondary
#95BD7C
accent
#D65285
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7A3BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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