#7A26B5#7A26B5

#7A26B5 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.3% C 0.209 H 306.3°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#7A26B5
RGBrgb(122, 38, 181)
HSLhsl(275, 65%, 43%)
HSVhsv(275, 79%, 71%)
CMYKcmyk(32.6%, 79%, 0%, 29%)
CIE-LABlab(35.71, 59.13, -59.28)
CIE-LCHlch(35.71, 83.73, 314.93°)
OKLaboklab(47.27% 0.1241 -0.1687)
OKLCHoklch(47.27% 0.209 306.3)
XYZxyz(17.0578, 8.8602, 44.5187)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A26B5 #61B526
analogous
#3326B5 #7A26B5 #B526A8
triadic
#7A26B5 #B57A26 #26B57A
tetradic
#7A26B5 #B53326 #61B526 #26A8B5
square
#7A26B5 #B53326 #61B526 #26A8B5
split-complementary
#7A26B5 #A8B526 #26B533
monochromatic
#361150 #581B82 #7A26B5 #9941D7 #B474E2

Accessibility & contrast

On white

7.58
#7A26B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7A26B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A26B5
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A26B5#FFFFFF#000000##FFFFFF
##7A26B51.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#6F4B6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7a26b5;
/* rgb */ color: rgb(122, 38, 181);
/* oklch */ color: oklch(47.3% 0.209 306.3);
Tailwind
colors: {
  custom: {
    50: '#a66bcc',
    500: '#7a26b5',
    950: '#000000',
  },
}
SCSS
$custom: #7a26b5;
$custom-light: #a66bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a26b5",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 181
  },
  "hsl": {
    "h": 275.245,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47268,
    "c": 0.20944,
    "h": 306.3
  },
  "luminance": 0.0886
}

Semantic roles & 50–950 ramp

primary
#7A26B5
secondary
#93C96E
accent
#E84085
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A26B5

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

Preview Lab → · Contrast checker → · Palette generator →

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