#7B26A5#7B26A5

#7B26A5 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.195 H 311.5°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#7B26A5
RGBrgb(123, 38, 165)
HSLhsl(280, 63%, 40%)
HSVhsv(280, 77%, 65%)
CMYKcmyk(25.5%, 77%, 0%, 35.3%)
CIE-LABlab(34.63, 55.83, -51.48)
CIE-LCHlch(34.63, 75.94, 317.32°)
OKLaboklab(46.15% 0.129 -0.1458)
OKLCHoklch(46.15% 0.195 311.5)
XYZxyz(15.6517, 8.3142, 36.3703)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B26A5 #50A526
analogous
#3B26A5 #7B26A5 #A52690
triadic
#7B26A5 #A57B26 #26A57B
tetradic
#7B26A5 #A53B26 #50A526 #2690A5
square
#7B26A5 #A53B26 #50A526 #2690A5
split-complementary
#7B26A5 #90A526 #26A53B
monochromatic
#310F42 #561B73 #7B26A5 #9E37D1 #B669DC

Accessibility & contrast

On white

7.89
#7B26A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7B26A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B26A5
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B26A5#FFFFFF#000000##FFFFFF
##7B26A51.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0C53A2
Tritanopia (blue-blind)
#764464
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7b26a5;
/* rgb */ color: rgb(123, 38, 165);
/* oklch */ color: oklch(46.2% 0.195 311.5);
Tailwind
colors: {
  custom: {
    50: '#a66ac0',
    500: '#7b26a5',
    950: '#000000',
  },
}
SCSS
$custom: #7b26a5;
$custom-light: #a66ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b26a5",
  "rgb": {
    "r": 123,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 280.157,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46151,
    "c": 0.19463,
    "h": 311.5
  },
  "luminance": 0.08314
}

Semantic roles & 50–950 ramp

primary
#7B26A5
secondary
#83C364
accent
#E64278
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B26A5

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

Preview Lab → · Contrast checker → · Palette generator →

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