#7A50CF#7A50CF

#7A50CF is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.3% C 0.187 H 294.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7A50CF
RGBrgb(122, 80, 207)
HSLhsl(260, 57%, 56%)
HSVhsv(260, 61%, 81%)
CMYKcmyk(41.1%, 61.4%, 0%, 18.8%)
CIE-LABlab(44.77, 45.76, -59.76)
CIE-LCHlch(44.77, 75.27, 307.44°)
OKLaboklab(54.35% 0.0779 -0.1703)
OKLCHoklch(54.35% 0.187 294.6)
XYZxyz(22.1542, 14.3794, 60.6276)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A50CF #A5CF50
analogous
#5066CF #7A50CF #BA50CF
triadic
#7A50CF #CF7A50 #50CF7A
tetradic
#7A50CF #CF5066 #A5CF50 #50CFBA
square
#7A50CF #CF5066 #A5CF50 #50CFBA
split-complementary
#7A50CF #CFBA50 #66CF50
monochromatic
#422381 #5B31B1 #7A50CF #9F80DC #C3B0E9

Accessibility & contrast

On white

5.42
#7A50CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7A50CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A50CF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A50CF#FFFFFF#000000##FFFFFF
##7A50CF1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#646D88
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a50cf;
/* rgb */ color: rgb(122, 80, 207);
/* oklch */ color: oklch(54.3% 0.187 294.6);
Tailwind
colors: {
  custom: {
    50: '#a683de',
    500: '#7a50cf',
    950: '#000000',
  },
}
SCSS
$custom: #7a50cf;
$custom-light: #a683de;
$custom-dark: #000000;
JSON
{
  "hex": "#7a50cf",
  "rgb": {
    "r": 122,
    "g": 80,
    "b": 207
  },
  "hsl": {
    "h": 259.843,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54345,
    "c": 0.18732,
    "h": 294.6
  },
  "luminance": 0.1438
}

Semantic roles & 50–950 ramp

primary
#7A50CF
secondary
#C6D8A3
accent
#E048AE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7A50CF

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

Preview Lab → · Contrast checker → · Palette generator →

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