#7A50C7#7A50C7

#7A50C7 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.8% C 0.178 H 296.2°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7A50C7
RGBrgb(122, 80, 199)
HSLhsl(261, 52%, 55%)
HSVhsv(261, 60%, 78%)
CMYKcmyk(38.7%, 59.8%, 0%, 22%)
CIE-LABlab(44.23, 43.62, -56.02)
CIE-LCHlch(44.23, 71.00, 307.91°)
OKLaboklab(53.78% 0.0783 -0.1593)
OKLCHoklch(53.78% 0.178 296.2)
XYZxyz(21.2008, 13.9980, 55.6067)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A50C7 #9DC750
analogous
#5062C7 #7A50C7 #B550C7
triadic
#7A50C7 #C77A50 #50C77A
tetradic
#7A50C7 #C75062 #9DC750 #50C7B5
square
#7A50C7 #C75062 #9DC750 #50C7B5
split-complementary
#7A50C7 #C7B550 #62C750
monochromatic
#422677 #5C35A5 #7A50C7 #9D7ED6 #C0ADE5

Accessibility & contrast

On white

5.53
#7A50C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7A50C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A50C7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A50C7#FFFFFF#000000##FFFFFF
##7A50C71.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#1A67C4
Tritanopia (blue-blind)
#676A84
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a50c7;
/* rgb */ color: rgb(122, 80, 199);
/* oklch */ color: oklch(53.8% 0.178 296.2);
Tailwind
colors: {
  custom: {
    50: '#a583d9',
    500: '#7a50c7',
    950: '#000000',
  },
}
SCSS
$custom: #7a50c7;
$custom-light: #a583d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a50c7",
  "rgb": {
    "r": 122,
    "g": 80,
    "b": 199
  },
  "hsl": {
    "h": 261.176,
    "s": 51.515,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53777,
    "c": 0.17754,
    "h": 296.2
  },
  "luminance": 0.13998
}

Semantic roles & 50–950 ramp

primary
#7A50C7
secondary
#C1D2A0
accent
#DB4DA9
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7A50C7

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

Preview Lab → · Contrast checker → · Palette generator →

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