#7A26B7#7A26B7

#7A26B7 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.4% C 0.211 H 305.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#7A26B7
RGBrgb(122, 38, 183)
HSLhsl(275, 66%, 43%)
HSVhsv(275, 79%, 72%)
CMYKcmyk(33.3%, 79.2%, 0%, 28.2%)
CIE-LABlab(35.87, 59.57, -60.20)
CIE-LCHlch(35.87, 84.70, 314.70°)
OKLaboklab(47.43% 0.1236 -0.1715)
OKLCHoklch(47.43% 0.211 305.8)
XYZxyz(17.2645, 8.9428, 45.6072)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A26B7 #63B726
analogous
#3226B7 #7A26B7 #B726AB
triadic
#7A26B7 #B77A26 #26B77A
tetradic
#7A26B7 #B73226 #63B726 #26ABB7
square
#7A26B7 #B73226 #63B726 #26ABB7
split-complementary
#7A26B7 #ABB726 #26B732
monochromatic
#361152 #581B84 #7A26B7 #9942D8 #B475E2

Accessibility & contrast

On white

7.53
#7A26B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7A26B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A26B7
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A26B7#FFFFFF#000000##FFFFFF
##7A26B71.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#6F4C6F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7a26b7;
/* rgb */ color: rgb(122, 38, 183);
/* oklch */ color: oklch(47.4% 0.211 305.8);
Tailwind
colors: {
  custom: {
    50: '#a66bce',
    500: '#7a26b7',
    950: '#000000',
  },
}
SCSS
$custom: #7a26b7;
$custom-light: #a66bce;
$custom-dark: #000000;
JSON
{
  "hex": "#7a26b7",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 183
  },
  "hsl": {
    "h": 274.759,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4743,
    "c": 0.21134,
    "h": 305.8
  },
  "luminance": 0.08943
}

Semantic roles & 50–950 ramp

primary
#7A26B7
secondary
#95CA6F
accent
#E93F86
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7A26B7

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

Preview Lab → · Contrast checker → · Palette generator →

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