#7A50CA#7A50CA

#7A50CA is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.0% C 0.181 H 295.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7A50CA
RGBrgb(122, 80, 202)
HSLhsl(261, 54%, 55%)
HSVhsv(261, 60%, 79%)
CMYKcmyk(39.6%, 60.4%, 0%, 20.8%)
CIE-LABlab(44.43, 44.42, -57.43)
CIE-LCHlch(44.43, 72.60, 307.72°)
OKLaboklab(53.99% 0.0782 -0.1635)
OKLCHoklch(53.99% 0.181 295.6)
XYZxyz(21.5526, 14.1387, 57.4592)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A50CA #A0CA50
analogous
#5063CA #7A50CA #B750CA
triadic
#7A50CA #CA7A50 #50CA7A
tetradic
#7A50CA #CA5063 #A0CA50 #50CAB7
square
#7A50CA #CA5063 #A0CA50 #50CAB7
split-complementary
#7A50CA #CAB750 #63CA50
monochromatic
#43257A #5C33A9 #7A50CA #9E7FD8 #C1AEE6

Accessibility & contrast

On white

5.49
#7A50CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7A50CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A50CA
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A50CA#FFFFFF#000000##FFFFFF
##7A50CA1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#1267C7
Tritanopia (blue-blind)
#666B85
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a50ca;
/* rgb */ color: rgb(122, 80, 202);
/* oklch */ color: oklch(54.0% 0.181 295.6);
Tailwind
colors: {
  custom: {
    50: '#a683db',
    500: '#7a50ca',
    950: '#000000',
  },
}
SCSS
$custom: #7a50ca;
$custom-light: #a683db;
$custom-dark: #000000;
JSON
{
  "hex": "#7a50ca",
  "rgb": {
    "r": 122,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 260.656,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53988,
    "c": 0.18122,
    "h": 295.6
  },
  "luminance": 0.14139
}

Semantic roles & 50–950 ramp

primary
#7A50CA
secondary
#C3D4A1
accent
#DD4BAB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7A50CA

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

Preview Lab → · Contrast checker → · Palette generator →

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