#7B26AC#7B26AC

#7B26AC is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.7% C 0.201 H 309.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#7B26AC
RGBrgb(123, 38, 172)
HSLhsl(278, 64%, 41%)
HSVhsv(278, 78%, 67%)
CMYKcmyk(28.5%, 77.9%, 0%, 32.5%)
CIE-LABlab(35.16, 57.33, -54.82)
CIE-LCHlch(35.16, 79.33, 316.28°)
OKLaboklab(46.69% 0.1276 -0.1556)
OKLCHoklch(46.69% 0.201 309.3)
XYZxyz(16.3064, 8.5761, 39.8181)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B26AC #57AC26
analogous
#3826AC #7B26AC #AC269A
triadic
#7B26AC #AC7B26 #26AC7B
tetradic
#7B26AC #AC3826 #57AC26 #269AAC
square
#7B26AC #AC3826 #57AC26 #269AAC
split-complementary
#7B26AC #9AAC26 #26AC38
monochromatic
#331048 #571B7A #7B26AC #9C3BD4 #B56EDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B26AC#FFFFFF#000000##FFFFFF
##7B26AC1.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)
#004FB0
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#744768
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7b26ac;
/* rgb */ color: rgb(123, 38, 172);
/* oklch */ color: oklch(46.7% 0.201 309.3);
Tailwind
colors: {
  custom: {
    50: '#a66ac6',
    500: '#7b26ac',
    950: '#000000',
  },
}
SCSS
$custom: #7b26ac;
$custom-light: #a66ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b26ac",
  "rgb": {
    "r": 123,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 278.06,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46687,
    "c": 0.20121,
    "h": 309.3
  },
  "luminance": 0.08576
}

Semantic roles & 50–950 ramp

primary
#7B26AC
secondary
#8AC568
accent
#E7417E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B26AC

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

Preview Lab → · Contrast checker → · Palette generator →

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