#7D26AE#7D26AE

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

Color values

HEX#7D26AE
RGBrgb(125, 38, 174)
HSLhsl(278, 64%, 42%)
HSVhsv(278, 78%, 68%)
CMYKcmyk(28.2%, 78.2%, 0%, 31.8%)
CIE-LABlab(35.60, 58.12, -55.28)
CIE-LCHlch(35.60, 80.21, 316.44°)
OKLaboklab(47.11% 0.1298 -0.1569)
OKLCHoklch(47.11% 0.204 309.6)
XYZxyz(16.7890, 8.8025, 40.8508)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D26AE #57AE26
analogous
#3926AE #7D26AE #AE269B
triadic
#7D26AE #AE7D26 #26AE7D
tetradic
#7D26AE #AE3926 #57AE26 #269BAE
square
#7D26AE #AE3926 #57AE26 #269BAE
split-complementary
#7D26AE #9BAE26 #26AE39
monochromatic
#35104A #591B7C #7D26AE #9E3DD5 #B76FE0

Accessibility & contrast

On white

7.61
#7D26AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D26AE
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D26AE#FFFFFF#000000##FFFFFF
##7D26AE1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0055AB
Tritanopia (blue-blind)
#76486A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d26ae;
/* rgb */ color: rgb(125, 38, 174);
/* oklch */ color: oklch(47.1% 0.204 309.6);
Tailwind
colors: {
  custom: {
    50: '#a86bc7',
    500: '#7d26ae',
    950: '#000000',
  },
}
SCSS
$custom: #7d26ae;
$custom-light: #a86bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d26ae",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 278.382,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47109,
    "c": 0.20364,
    "h": 309.6
  },
  "luminance": 0.08802
}

Semantic roles & 50–950 ramp

primary
#7D26AE
secondary
#8BC66A
accent
#E7417D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D26AE

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

Preview Lab → · Contrast checker → · Palette generator →

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