#7B1EA0#7B1EA0

#7B1EA0 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.198 H 313.7°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7B1EA0
RGBrgb(123, 30, 160)
HSLhsl(283, 68%, 37%)
HSVhsv(283, 81%, 63%)
CMYKcmyk(23.1%, 81.3%, 0%, 37.3%)
CIE-LABlab(33.30, 57.55, -50.61)
CIE-LCHlch(33.30, 76.63, 318.67°)
OKLaboklab(45.1% 0.1367 -0.1432)
OKLCHoklch(45.1% 0.198 313.7)
XYZxyz(14.9767, 7.6781, 33.9440)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1EA0 #43A01E
analogous
#3A1EA0 #7B1EA0 #A01E84
triadic
#7B1EA0 #A07B1E #1EA07B
tetradic
#7B1EA0 #A03A1E #43A01E #1E84A0
square
#7B1EA0 #A03A1E #43A01E #1E84A0
split-complementary
#7B1EA0 #84A01E #1EA03A
monochromatic
#2C0B39 #53146C #7B1EA0 #A328D4 #B959E0

Accessibility & contrast

On white

8.28
#7B1EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7B1EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1EA0
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1EA0#FFFFFF#000000##FFFFFF
##7B1EA01.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA3
Deuteranopia (green-blind)
#0C509D
Tritanopia (blue-blind)
#773E60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7b1ea0;
/* rgb */ color: rgb(123, 30, 160);
/* oklch */ color: oklch(45.1% 0.198 313.7);
Tailwind
colors: {
  custom: {
    50: '#a666bd',
    500: '#7b1ea0',
    950: '#000000',
  },
}
SCSS
$custom: #7b1ea0;
$custom-light: #a666bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1ea0",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 282.923,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45103,
    "c": 0.19792,
    "h": 313.7
  },
  "luminance": 0.07678
}

Semantic roles & 50–950 ramp

primary
#7B1EA0
secondary
#75C456
accent
#EB3D6E
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B1EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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