#7B26AE#7B26AE

#7B26AE is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.8% C 0.203 H 308.7°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#7B26AE
RGBrgb(123, 38, 174)
HSLhsl(278, 64%, 42%)
HSVhsv(278, 78%, 68%)
CMYKcmyk(29.3%, 78.2%, 0%, 31.8%)
CIE-LABlab(35.31, 57.77, -55.77)
CIE-LCHlch(35.31, 80.29, 316.01°)
OKLaboklab(46.84% 0.1271 -0.1584)
OKLCHoklch(46.84% 0.203 308.7)
XYZxyz(16.4999, 8.6535, 40.8373)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B26AE #59AE26
analogous
#3726AE #7B26AE #AE269D
triadic
#7B26AE #AE7B26 #26AE7B
tetradic
#7B26AE #AE3726 #59AE26 #269DAE
square
#7B26AE #AE3726 #59AE26 #269DAE
split-complementary
#7B26AE #9DAE26 #26AE37
monochromatic
#34104A #571B7C #7B26AE #9C3DD5 #B56FE0

Accessibility & contrast

On white

7.69
#7B26AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7B26AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B26AE
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B26AE#FFFFFF#000000##FFFFFF
##7B26AE1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0054AB
Tritanopia (blue-blind)
#73486A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7b26ae;
/* rgb */ color: rgb(123, 38, 174);
/* oklch */ color: oklch(46.8% 0.203 308.7);
Tailwind
colors: {
  custom: {
    50: '#a66ac7',
    500: '#7b26ae',
    950: '#000000',
  },
}
SCSS
$custom: #7b26ae;
$custom-light: #a66ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b26ae",
  "rgb": {
    "r": 123,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 277.5,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46843,
    "c": 0.20309,
    "h": 308.7
  },
  "luminance": 0.08653
}

Semantic roles & 50–950 ramp

primary
#7B26AE
secondary
#8CC66A
accent
#E7417F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B26AE

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

Preview Lab → · Contrast checker → · Palette generator →

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