#7D26B5#7D26B5

#7D26B5 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.7% C 0.210 H 307.6°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7D26B5
RGBrgb(125, 38, 181)
HSLhsl(277, 65%, 43%)
HSVhsv(277, 79%, 71%)
CMYKcmyk(30.9%, 79%, 0%, 29%)
CIE-LABlab(36.14, 59.64, -58.56)
CIE-LCHlch(36.14, 83.58, 315.52°)
OKLaboklab(47.66% 0.1282 -0.1665)
OKLCHoklch(47.66% 0.21 307.6)
XYZxyz(17.4893, 9.0826, 44.5389)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D26B5 #5EB526
analogous
#3526B5 #7D26B5 #B526A6
triadic
#7D26B5 #B57D26 #26B57D
tetradic
#7D26B5 #B53526 #5EB526 #26A6B5
square
#7D26B5 #B53526 #5EB526 #26A6B5
split-complementary
#7D26B5 #A6B526 #26B535
monochromatic
#371150 #5A1B82 #7D26B5 #9C41D7 #B774E2

Accessibility & contrast

On white

7.46
#7D26B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7D26B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D26B5
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D26B5#FFFFFF#000000##FFFFFF
##7D26B51.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0056B2
Tritanopia (blue-blind)
#744B6E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d26b5;
/* rgb */ color: rgb(125, 38, 181);
/* oklch */ color: oklch(47.7% 0.210 307.6);
Tailwind
colors: {
  custom: {
    50: '#a86bcc',
    500: '#7d26b5',
    950: '#000000',
  },
}
SCSS
$custom: #7d26b5;
$custom-light: #a86bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d26b5",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 181
  },
  "hsl": {
    "h": 276.503,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47658,
    "c": 0.21018,
    "h": 307.6
  },
  "luminance": 0.09082
}

Semantic roles & 50–950 ramp

primary
#7D26B5
secondary
#92C96E
accent
#E84082
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D26B5

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

Preview Lab → · Contrast checker → · Palette generator →

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