#7A50CE#7A50CE

#7A50CE is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.3% C 0.186 H 294.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7A50CE
RGBrgb(122, 80, 206)
HSLhsl(260, 56%, 56%)
HSVhsv(260, 61%, 81%)
CMYKcmyk(40.8%, 61.2%, 0%, 19.2%)
CIE-LABlab(44.70, 45.49, -59.29)
CIE-LCHlch(44.70, 74.74, 307.50°)
OKLaboklab(54.27% 0.078 -0.169)
OKLCHoklch(54.27% 0.186 294.8)
XYZxyz(22.0323, 14.3306, 59.9858)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A50CE #A4CE50
analogous
#5065CE #7A50CE #B950CE
triadic
#7A50CE #CE7A50 #50CE7A
tetradic
#7A50CE #CE5065 #A4CE50 #50CEB9
square
#7A50CE #CE5065 #A4CE50 #50CEB9
split-complementary
#7A50CE #CEB950 #65CE50
monochromatic
#422480 #5B31B0 #7A50CE #9E80DB #C3B0E9

Accessibility & contrast

On white

5.43
#7A50CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7A50CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A50CE
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A50CE#FFFFFF#000000##FFFFFF
##7A50CE1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#0068CB
Tritanopia (blue-blind)
#646C87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a50ce;
/* rgb */ color: rgb(122, 80, 206);
/* oklch */ color: oklch(54.3% 0.186 294.8);
Tailwind
colors: {
  custom: {
    50: '#a683de',
    500: '#7a50ce',
    950: '#000000',
  },
}
SCSS
$custom: #7a50ce;
$custom-light: #a683de;
$custom-dark: #000000;
JSON
{
  "hex": "#7a50ce",
  "rgb": {
    "r": 122,
    "g": 80,
    "b": 206
  },
  "hsl": {
    "h": 260,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54273,
    "c": 0.1861,
    "h": 294.8
  },
  "luminance": 0.14331
}

Semantic roles & 50–950 ramp

primary
#7A50CE
secondary
#C6D7A3
accent
#E048AD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7A50CE

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

Preview Lab → · Contrast checker → · Palette generator →

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