#7A50D3#7A50D3

#7A50D3 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.6% C 0.192 H 293.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7A50D3
RGBrgb(122, 80, 211)
HSLhsl(259, 60%, 57%)
HSVhsv(259, 62%, 83%)
CMYKcmyk(42.2%, 62.1%, 0%, 17.3%)
CIE-LABlab(45.05, 46.84, -61.61)
CIE-LCHlch(45.05, 77.39, 307.25°)
OKLaboklab(54.64% 0.0777 -0.1758)
OKLCHoklch(54.64% 0.192 293.8)
XYZxyz(22.6494, 14.5775, 63.2358)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A50D3 #A9D350
analogous
#5068D3 #7A50D3 #BC50D3
triadic
#7A50D3 #D37A50 #50D37A
tetradic
#7A50D3 #D35068 #A9D350 #50D3BC
square
#7A50D3 #D35068 #A9D350 #50D3BC
split-complementary
#7A50D3 #D3BC50 #68D350
monochromatic
#422287 #5A2EB8 #7A50D3 #9F81DF #C4B2EC

Accessibility & contrast

On white

5.36
#7A50D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7A50D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A50D3
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A50D3#FFFFFF#000000##FFFFFF
##7A50D31.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#626E8A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7a50d3;
/* rgb */ color: rgb(122, 80, 211);
/* oklch */ color: oklch(54.6% 0.192 293.8);
Tailwind
colors: {
  custom: {
    50: '#a683e1',
    500: '#7a50d3',
    950: '#000000',
  },
}
SCSS
$custom: #7a50d3;
$custom-light: #a683e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a50d3",
  "rgb": {
    "r": 122,
    "g": 80,
    "b": 211
  },
  "hsl": {
    "h": 259.237,
    "s": 59.817,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54635,
    "c": 0.19217,
    "h": 293.8
  },
  "luminance": 0.14578
}

Semantic roles & 50–950 ramp

primary
#7A50D3
secondary
#C9DAA5
accent
#E345B0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7A50D3

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

Preview Lab → · Contrast checker → · Palette generator →

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