#7B2BA3#7B2BA3

#7B2BA3 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.5% C 0.187 H 311.7°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#7B2BA3
RGBrgb(123, 43, 163)
HSLhsl(280, 58%, 40%)
HSVhsv(280, 74%, 64%)
CMYKcmyk(24.5%, 73.6%, 0%, 36.1%)
CIE-LABlab(35.17, 53.44, -49.40)
CIE-LCHlch(35.17, 72.78, 317.25°)
OKLaboklab(46.49% 0.1246 -0.1397)
OKLCHoklch(46.49% 0.187 311.7)
XYZxyz(15.6419, 8.5835, 35.4760)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2BA3 #53A32B
analogous
#3F2BA3 #7B2BA3 #A32B8F
triadic
#7B2BA3 #A37B2B #2BA37B
tetradic
#7B2BA3 #A33F2B #53A32B #2B8FA3
square
#7B2BA3 #A33F2B #53A32B #2B8FA3
split-complementary
#7B2BA3 #8FA32B #2BA33F
monochromatic
#321142 #561E73 #7B2BA3 #9D3FCC #B66FD9

Accessibility & contrast

On white

7.73
#7B2BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7B2BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2BA3
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2BA3#FFFFFF#000000##FFFFFF
##7B2BA31.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#1A54A0
Tritanopia (blue-blind)
#764665
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7b2ba3;
/* rgb */ color: rgb(123, 43, 163);
/* oklch */ color: oklch(46.5% 0.187 311.7);
Tailwind
colors: {
  custom: {
    50: '#a56cbf',
    500: '#7b2ba3',
    950: '#000000',
  },
}
SCSS
$custom: #7b2ba3;
$custom-light: #a56cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2ba3",
  "rgb": {
    "r": 123,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 280,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46488,
    "c": 0.18716,
    "h": 311.7
  },
  "luminance": 0.08583
}

Semantic roles & 50–950 ramp

primary
#7B2BA3
secondary
#86C06A
accent
#E1467A
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B2BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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