#7A26BC#7A26BC

#7A26BC is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.8% C 0.216 H 304.5°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7A26BC
RGBrgb(122, 38, 188)
HSLhsl(274, 66%, 44%)
HSVhsv(274, 80%, 74%)
CMYKcmyk(35.1%, 79.8%, 0%, 26.3%)
CIE-LABlab(36.28, 60.69, -62.49)
CIE-LCHlch(36.28, 87.11, 314.16°)
OKLaboklab(47.84% 0.1222 -0.1782)
OKLCHoklch(47.84% 0.216 304.5)
XYZxyz(17.7942, 9.1547, 48.3968)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A26BC #68BC26
analogous
#2F26BC #7A26BC #BC26B3
triadic
#7A26BC #BC7A26 #26BC7A
tetradic
#7A26BC #BC2F26 #68BC26 #26B3BC
square
#7A26BC #BC2F26 #68BC26 #26B3BC
split-complementary
#7A26BC #B3BC26 #26BC2F
monochromatic
#381156 #591C89 #7A26BC #9846DA #B579E4

Accessibility & contrast

On white

7.42
#7A26BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7A26BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A26BC
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A26BC#FFFFFF#000000##FFFFFF
##7A26BC1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#0055B9
Tritanopia (blue-blind)
#6D4E72
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7a26bc;
/* rgb */ color: rgb(122, 38, 188);
/* oklch */ color: oklch(47.8% 0.216 304.5);
Tailwind
colors: {
  custom: {
    50: '#a76bd1',
    500: '#7a26bc',
    950: '#000000',
  },
}
SCSS
$custom: #7a26bc;
$custom-light: #a76bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a26bc",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 188
  },
  "hsl": {
    "h": 273.6,
    "s": 66.372,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4784,
    "c": 0.21608,
    "h": 304.5
  },
  "luminance": 0.09155
}

Semantic roles & 50–950 ramp

primary
#7A26BC
secondary
#9ACC72
accent
#E93F8A
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7A26BC

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

Preview Lab → · Contrast checker → · Palette generator →

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