#7D26B4#7D26B4

#7D26B4 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.6% C 0.209 H 307.9°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#7D26B4
RGBrgb(125, 38, 180)
HSLhsl(277, 65%, 43%)
HSVhsv(277, 79%, 71%)
CMYKcmyk(30.6%, 78.9%, 0%, 29.4%)
CIE-LABlab(36.06, 59.42, -58.10)
CIE-LCHlch(36.06, 83.10, 315.64°)
OKLaboklab(47.58% 0.1285 -0.1652)
OKLCHoklch(47.58% 0.209 307.9)
XYZxyz(17.3870, 9.0417, 44.0004)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D26B4 #5DB426
analogous
#3626B4 #7D26B4 #B426A4
triadic
#7D26B4 #B47D26 #26B47D
tetradic
#7D26B4 #B43626 #5DB426 #26A4B4
square
#7D26B4 #B43626 #5DB426 #26A4B4
split-complementary
#7D26B4 #A4B426 #26B436
monochromatic
#37114F #5A1B81 #7D26B4 #9D40D7 #B773E1

Accessibility & contrast

On white

7.48
#7D26B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7D26B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D26B4
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D26B4#FFFFFF#000000##FFFFFF
##7D26B41.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#744A6D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d26b4;
/* rgb */ color: rgb(125, 38, 180);
/* oklch */ color: oklch(47.6% 0.209 307.9);
Tailwind
colors: {
  custom: {
    50: '#a86bcb',
    500: '#7d26b4',
    950: '#000000',
  },
}
SCSS
$custom: #7d26b4;
$custom-light: #a86bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d26b4",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 180
  },
  "hsl": {
    "h": 276.761,
    "s": 65.138,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47578,
    "c": 0.20924,
    "h": 307.9
  },
  "luminance": 0.09041
}

Semantic roles & 50–950 ramp

primary
#7D26B4
secondary
#91C96D
accent
#E84081
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D26B4

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

Preview Lab → · Contrast checker → · Palette generator →

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