#7A26B4#7A26B4

#7A26B4 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.2% C 0.208 H 306.6°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#7A26B4
RGBrgb(122, 38, 180)
HSLhsl(275, 65%, 43%)
HSVhsv(275, 79%, 71%)
CMYKcmyk(32.2%, 78.9%, 0%, 29.4%)
CIE-LABlab(35.63, 58.91, -58.82)
CIE-LCHlch(35.63, 83.24, 315.04°)
OKLaboklab(47.19% 0.1243 -0.1674)
OKLCHoklch(47.19% 0.209 306.6)
XYZxyz(16.9556, 8.8193, 43.9802)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A26B4 #60B426
analogous
#3326B4 #7A26B4 #B426A7
triadic
#7A26B4 #B47A26 #26B47A
tetradic
#7A26B4 #B43326 #60B426 #26A7B4
square
#7A26B4 #B43326 #60B426 #26A7B4
split-complementary
#7A26B4 #A7B426 #26B433
monochromatic
#36114F #581B81 #7A26B4 #9940D7 #B473E1

Accessibility & contrast

On white

7.60
#7A26B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7A26B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A26B4
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A26B4#FFFFFF#000000##FFFFFF
##7A26B41.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#704B6D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7a26b4;
/* rgb */ color: rgb(122, 38, 180);
/* oklch */ color: oklch(47.2% 0.208 306.6);
Tailwind
colors: {
  custom: {
    50: '#a66bcb',
    500: '#7a26b4',
    950: '#000000',
  },
}
SCSS
$custom: #7a26b4;
$custom-light: #a66bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a26b4",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 180
  },
  "hsl": {
    "h": 275.493,
    "s": 65.138,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47187,
    "c": 0.2085,
    "h": 306.6
  },
  "luminance": 0.08819
}

Semantic roles & 50–950 ramp

primary
#7A26B4
secondary
#93C96D
accent
#E84084
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A26B4

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

Preview Lab → · Contrast checker → · Palette generator →

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