#7A26B3#7A26B3

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

Color values

HEX#7A26B3
RGBrgb(122, 38, 179)
HSLhsl(276, 65%, 43%)
HSVhsv(276, 79%, 70%)
CMYKcmyk(31.8%, 78.8%, 0%, 29.8%)
CIE-LABlab(35.55, 58.69, -58.35)
CIE-LCHlch(35.55, 82.76, 315.16°)
OKLaboklab(47.11% 0.1246 -0.166)
OKLCHoklch(47.11% 0.208 306.9)
XYZxyz(16.8541, 8.7787, 43.4457)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A26B3 #5FB326
analogous
#3426B3 #7A26B3 #B326A5
triadic
#7A26B3 #B37A26 #26B37A
tetradic
#7A26B3 #B33426 #5FB326 #26A5B3
square
#7A26B3 #B33426 #5FB326 #26A5B3
split-complementary
#7A26B3 #A5B326 #26B334
monochromatic
#35114E #581B81 #7A26B3 #9A40D6 #B472E1

Accessibility & contrast

On white

7.62
#7A26B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A26B3
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A26B3#FFFFFF#000000##FFFFFF
##7A26B31.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#704A6C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7a26b3;
/* rgb */ color: rgb(122, 38, 179);
/* oklch */ color: oklch(47.1% 0.208 306.9);
Tailwind
colors: {
  custom: {
    50: '#a66bcb',
    500: '#7a26b3',
    950: '#000000',
  },
}
SCSS
$custom: #7a26b3;
$custom-light: #a66bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a26b3",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 179
  },
  "hsl": {
    "h": 275.745,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47107,
    "c": 0.20755,
    "h": 306.9
  },
  "luminance": 0.08778
}

Semantic roles & 50–950 ramp

primary
#7A26B3
secondary
#92C86D
accent
#E84084
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A26B3

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

Preview Lab → · Contrast checker → · Palette generator →

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