#7B26A3#7B26A3

#7B26A3 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.193 H 312.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#7B26A3
RGBrgb(123, 38, 163)
HSLhsl(281, 62%, 39%)
HSVhsv(281, 77%, 64%)
CMYKcmyk(24.5%, 76.7%, 0%, 36.1%)
CIE-LABlab(34.48, 55.41, -50.51)
CIE-LCHlch(34.48, 74.97, 317.65°)
OKLaboklab(46% 0.1293 -0.1429)
OKLCHoklch(46% 0.193 312.1)
XYZxyz(15.4711, 8.2420, 35.4191)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B26A3 #4EA326
analogous
#3D26A3 #7B26A3 #A3268D
triadic
#7B26A3 #A37B26 #26A37B
tetradic
#7B26A3 #A33D26 #4EA326 #268DA3
square
#7B26A3 #A33D26 #4EA326 #268DA3
split-complementary
#7B26A3 #8DA326 #26A33D
monochromatic
#300F40 #561A71 #7B26A3 #9F36D0 #B768DC

Accessibility & contrast

On white

7.93
#7B26A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7B26A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B26A3
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B26A3#FFFFFF#000000##FFFFFF
##7B26A31.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#1253A0
Tritanopia (blue-blind)
#764363
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7b26a3;
/* rgb */ color: rgb(123, 38, 163);
/* oklch */ color: oklch(46.0% 0.193 312.1);
Tailwind
colors: {
  custom: {
    50: '#a66abf',
    500: '#7b26a3',
    950: '#000000',
  },
}
SCSS
$custom: #7b26a3;
$custom-light: #a66abf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b26a3",
  "rgb": {
    "r": 123,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 280.8,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46001,
    "c": 0.19276,
    "h": 312.1
  },
  "luminance": 0.08242
}

Semantic roles & 50–950 ramp

primary
#7B26A3
secondary
#81C263
accent
#E54377
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B26A3

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

Preview Lab → · Contrast checker → · Palette generator →

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