#7B26AA#7B26AA

#7B26AA is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.5% C 0.199 H 309.9°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#7B26AA
RGBrgb(123, 38, 170)
HSLhsl(279, 63%, 41%)
HSVhsv(279, 78%, 67%)
CMYKcmyk(27.6%, 77.6%, 0%, 33.3%)
CIE-LABlab(35.00, 56.90, -53.87)
CIE-LCHlch(35.00, 78.36, 316.57°)
OKLaboklab(46.53% 0.128 -0.1528)
OKLCHoklch(46.53% 0.199 309.9)
XYZxyz(16.1157, 8.4998, 38.8141)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B26AA #55AA26
analogous
#3926AA #7B26AA #AA2697
triadic
#7B26AA #AA7B26 #26AA7B
tetradic
#7B26AA #AA3926 #55AA26 #2697AA
square
#7B26AA #AA3926 #55AA26 #2697AA
split-complementary
#7B26AA #97AA26 #26AA39
monochromatic
#331046 #571B78 #7B26AA #9D3AD3 #B66CDE

Accessibility & contrast

On white

7.78
#7B26AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7B26AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B26AA
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B26AA#FFFFFF#000000##FFFFFF
##7B26AA1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#744667
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7b26aa;
/* rgb */ color: rgb(123, 38, 170);
/* oklch */ color: oklch(46.5% 0.199 309.9);
Tailwind
colors: {
  custom: {
    50: '#a66ac4',
    500: '#7b26aa',
    950: '#000000',
  },
}
SCSS
$custom: #7b26aa;
$custom-light: #a66ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b26aa",
  "rgb": {
    "r": 123,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 278.636,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46532,
    "c": 0.19933,
    "h": 309.9
  },
  "luminance": 0.08499
}

Semantic roles & 50–950 ramp

primary
#7B26AA
secondary
#88C567
accent
#E6417C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B26AA

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

Preview Lab → · Contrast checker → · Palette generator →

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