#7B1EA8#7B1EA8

#7B1EA8 is a mid, highly saturated purple. Relative luminance 0.080; OKLCH L 45.7% C 0.205 H 311.1°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#7B1EA8
RGBrgb(123, 30, 168)
HSLhsl(280, 70%, 39%)
HSVhsv(280, 82%, 66%)
CMYKcmyk(26.8%, 82.1%, 0%, 34.1%)
CIE-LABlab(33.91, 59.19, -54.44)
CIE-LCHlch(33.91, 80.42, 317.39°)
OKLaboklab(45.72% 0.1348 -0.1544)
OKLCHoklch(45.72% 0.205 311.1)
XYZxyz(15.6992, 7.9671, 37.7490)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1EA8 #4BA81E
analogous
#361EA8 #7B1EA8 #A81E90
triadic
#7B1EA8 #A87B1E #1EA87B
tetradic
#7B1EA8 #A8361E #4BA81E #1E90A8
square
#7B1EA8 #A8361E #4BA81E #1E90A8
split-complementary
#7B1EA8 #90A81E #1EA836
monochromatic
#2F0B40 #551574 #7B1EA8 #A02AD9 #B75EE2

Accessibility & contrast

On white

8.10
#7B1EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7B1EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1EA8
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1EA8#FFFFFF#000000##FFFFFF
##7B1EA81.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b1ea8;
/* rgb */ color: rgb(123, 30, 168);
/* oklch */ color: oklch(45.7% 0.205 311.1);
Tailwind
colors: {
  custom: {
    50: '#a667c3',
    500: '#7b1ea8',
    950: '#000000',
  },
}
SCSS
$custom: #7b1ea8;
$custom-light: #a667c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1ea8",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 280.435,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45722,
    "c": 0.20501,
    "h": 311.1
  },
  "luminance": 0.07967
}

Semantic roles & 50–950 ramp

primary
#7B1EA8
secondary
#7EC75B
accent
#ED3B75
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B1EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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