#7A50B3#7A50B3

#7A50B3 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.4% C 0.153 H 300.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7A50B3
RGBrgb(122, 80, 179)
HSLhsl(265, 39%, 51%)
HSVhsv(265, 55%, 70%)
CMYKcmyk(31.8%, 55.3%, 0%, 29.8%)
CIE-LABlab(42.96, 38.38, -46.40)
CIE-LCHlch(42.96, 60.22, 309.59°)
OKLaboklab(52.44% 0.0783 -0.1311)
OKLCHoklch(52.44% 0.153 300.8)
XYZxyz(19.0295, 13.1295, 44.1708)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A50B3 #89B350
analogous
#5057B3 #7A50B3 #AB50B3
triadic
#7A50B3 #B37A50 #50B37A
tetradic
#7A50B3 #B35057 #89B350 #50B3AB
square
#7A50B3 #B35057 #89B350 #50B3AB
split-complementary
#7A50B3 #B3AB50 #57B350
monochromatic
#40295F #5D3C8A #7A50B3 #9A7BC6 #BBA5D8

Accessibility & contrast

On white

5.79
#7A50B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7A50B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A50B3
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A50B3#FFFFFF#000000##FFFFFF
##7A50B31.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2965B6
Deuteranopia (green-blind)
#3765B1
Tritanopia (blue-blind)
#6F637A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a50b3;
/* rgb */ color: rgb(122, 80, 179);
/* oklch */ color: oklch(52.4% 0.153 300.8);
Tailwind
colors: {
  custom: {
    50: '#a482ca',
    500: '#7a50b3',
    950: '#000000',
  },
}
SCSS
$custom: #7a50b3;
$custom-light: #a482ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7a50b3",
  "rgb": {
    "r": 122,
    "g": 80,
    "b": 179
  },
  "hsl": {
    "h": 265.455,
    "s": 39.442,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52436,
    "c": 0.1527,
    "h": 300.8
  },
  "luminance": 0.1313
}

Semantic roles & 50–950 ramp

primary
#7A50B3
secondary
#B3C599
accent
#CF589D
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #7A50B3

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

Preview Lab → · Contrast checker → · Palette generator →

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