#7A26BD#7A26BD

#7A26BD is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.9% C 0.217 H 304.2°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#7A26BD
RGBrgb(122, 38, 189)
HSLhsl(273, 67%, 45%)
HSVhsv(273, 80%, 74%)
CMYKcmyk(35.4%, 79.9%, 0%, 25.9%)
CIE-LABlab(36.36, 60.91, -62.95)
CIE-LCHlch(36.36, 87.59, 314.06°)
OKLaboklab(47.92% 0.122 -0.1795)
OKLCHoklch(47.92% 0.217 304.2)
XYZxyz(17.9023, 9.1980, 48.9665)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A26BD #69BD26
analogous
#2E26BD #7A26BD #BD26B5
triadic
#7A26BD #BD7A26 #26BD7A
tetradic
#7A26BD #BD2E26 #69BD26 #26B5BD
square
#7A26BD #BD2E26 #69BD26 #26B5BD
split-complementary
#7A26BD #B5BD26 #26BD2E
monochromatic
#381257 #591C8A #7A26BD #9846DA #B579E4

Accessibility & contrast

On white

7.40
#7A26BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7A26BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A26BD
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A26BD#FFFFFF#000000##FFFFFF
##7A26BD1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#6D4F72
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7a26bd;
/* rgb */ color: rgb(122, 38, 189);
/* oklch */ color: oklch(47.9% 0.217 304.2);
Tailwind
colors: {
  custom: {
    50: '#a76bd2',
    500: '#7a26bd',
    950: '#000000',
  },
}
SCSS
$custom: #7a26bd;
$custom-light: #a76bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a26bd",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 273.377,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47922,
    "c": 0.21703,
    "h": 304.2
  },
  "luminance": 0.09198
}

Semantic roles & 50–950 ramp

primary
#7A26BD
secondary
#9ACC73
accent
#E93E8A
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7A26BD

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

Preview Lab → · Contrast checker → · Palette generator →

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