#7B50A8#7B50A8

#7B50A8 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 51.9% C 0.139 H 304.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7B50A8
RGBrgb(123, 80, 168)
HSLhsl(269, 35%, 49%)
HSVhsv(269, 52%, 66%)
CMYKcmyk(26.8%, 52.4%, 0%, 34.1%)
CIE-LABlab(42.42, 35.86, -40.76)
CIE-LCHlch(42.42, 54.29, 311.34°)
OKLaboklab(51.86% 0.0789 -0.1145)
OKLCHoklch(51.86% 0.139 304.6)
XYZxyz(18.1034, 12.7755, 38.5504)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B50A8 #7DA850
analogous
#5051A8 #7B50A8 #A750A8
triadic
#7B50A8 #A87B50 #50A87B
tetradic
#7B50A8 #A85051 #7DA850 #50A8A7
square
#7B50A8 #A85051 #7DA850 #50A8A7
split-complementary
#7B50A8 #A8A750 #51A850
monochromatic
#3E2955 #5D3C7F #7B50A8 #9A77BE #B9A0D2

Accessibility & contrast

On white

5.91
#7B50A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7B50A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B50A8
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B50A8#FFFFFF#000000##FFFFFF
##7B50A81.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3463AB
Deuteranopia (green-blind)
#4164A6
Tritanopia (blue-blind)
#736074
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7b50a8;
/* rgb */ color: rgb(123, 80, 168);
/* oklch */ color: oklch(51.9% 0.139 304.6);
Tailwind
colors: {
  custom: {
    50: '#a482c2',
    500: '#7b50a8',
    950: '#000000',
  },
}
SCSS
$custom: #7b50a8;
$custom-light: #a482c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b50a8",
  "rgb": {
    "r": 123,
    "g": 80,
    "b": 168
  },
  "hsl": {
    "h": 269.318,
    "s": 35.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51857,
    "c": 0.13912,
    "h": 304.6
  },
  "luminance": 0.12775
}

Semantic roles & 50–950 ramp

primary
#7B50A8
secondary
#AABF95
accent
#CC5C95
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #7B50A8

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

Preview Lab → · Contrast checker → · Palette generator →

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