#7A50CC#7A50CC

#7A50CC is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.1% C 0.184 H 295.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7A50CC
RGBrgb(122, 80, 204)
HSLhsl(260, 55%, 56%)
HSVhsv(260, 61%, 80%)
CMYKcmyk(40.2%, 60.8%, 0%, 20%)
CIE-LABlab(44.57, 44.96, -58.36)
CIE-LCHlch(44.57, 73.67, 307.61°)
OKLaboklab(54.13% 0.0781 -0.1662)
OKLCHoklch(54.13% 0.184 295.2)
XYZxyz(21.7909, 14.2341, 58.7144)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A50CC #A2CC50
analogous
#5064CC #7A50CC #B850CC
triadic
#7A50CC #CC7A50 #50CC7A
tetradic
#7A50CC #CC5064 #A2CC50 #50CCB8
square
#7A50CC #CC5064 #A2CC50 #50CCB8
split-complementary
#7A50CC #CCB850 #64CC50
monochromatic
#42247D #5C32AD #7A50CC #9E7FDA #C2AFE8

Accessibility & contrast

On white

5.46
#7A50CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7A50CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A50CC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A50CC#FFFFFF#000000##FFFFFF
##7A50CC1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#0968C9
Tritanopia (blue-blind)
#656C86
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a50cc;
/* rgb */ color: rgb(122, 80, 204);
/* oklch */ color: oklch(54.1% 0.184 295.2);
Tailwind
colors: {
  custom: {
    50: '#a683dc',
    500: '#7a50cc',
    950: '#000000',
  },
}
SCSS
$custom: #7a50cc;
$custom-light: #a683dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a50cc",
  "rgb": {
    "r": 122,
    "g": 80,
    "b": 204
  },
  "hsl": {
    "h": 260.323,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5413,
    "c": 0.18366,
    "h": 295.2
  },
  "luminance": 0.14235
}

Semantic roles & 50–950 ramp

primary
#7A50CC
secondary
#C4D6A2
accent
#DE4AAC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7A50CC

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

Preview Lab → · Contrast checker → · Palette generator →

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