#7B1EA9#7B1EA9

#7B1EA9 is a mid, highly saturated purple. Relative luminance 0.080; OKLCH L 45.8% C 0.206 H 310.8°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#7B1EA9
RGBrgb(123, 30, 169)
HSLhsl(280, 70%, 39%)
HSVhsv(280, 82%, 66%)
CMYKcmyk(27.2%, 82.2%, 0%, 33.7%)
CIE-LABlab(33.99, 59.40, -54.92)
CIE-LCHlch(33.99, 80.89, 317.24°)
OKLaboklab(45.8% 0.1346 -0.1558)
OKLCHoklch(45.8% 0.206 310.8)
XYZxyz(15.7927, 8.0045, 38.2415)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1EA9 #4CA91E
analogous
#361EA9 #7B1EA9 #A91E92
triadic
#7B1EA9 #A97B1E #1EA97B
tetradic
#7B1EA9 #A9361E #4CA91E #1E92A9
square
#7B1EA9 #A9361E #4CA91E #1E92A9
split-complementary
#7B1EA9 #92A91E #1EA936
monochromatic
#2F0C41 #551575 #7B1EA9 #A02BD9 #B75FE3

Accessibility & contrast

On white

8.07
#7B1EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7B1EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1EA9
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1EA9#FFFFFF#000000##FFFFFF
##7B1EA91.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAD
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#754265
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b1ea9;
/* rgb */ color: rgb(123, 30, 169);
/* oklch */ color: oklch(45.8% 0.206 310.8);
Tailwind
colors: {
  custom: {
    50: '#a667c3',
    500: '#7b1ea9',
    950: '#000000',
  },
}
SCSS
$custom: #7b1ea9;
$custom-light: #a667c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1ea9",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 169
  },
  "hsl": {
    "h": 280.144,
    "s": 69.849,
    "l": 39.02
  },
  "oklch": {
    "l": 0.458,
    "c": 0.2059,
    "h": 310.8
  },
  "luminance": 0.08004
}

Semantic roles & 50–950 ramp

primary
#7B1EA9
secondary
#7FC75C
accent
#ED3B76
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B1EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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