#7D26B7#7D26B7

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

Color values

HEX#7D26B7
RGBrgb(125, 38, 183)
HSLhsl(276, 66%, 43%)
HSVhsv(276, 79%, 72%)
CMYKcmyk(31.7%, 79.2%, 0%, 28.2%)
CIE-LABlab(36.30, 60.07, -59.49)
CIE-LCHlch(36.30, 84.55, 315.28°)
OKLaboklab(47.82% 0.1277 -0.1693)
OKLCHoklch(47.82% 0.212 307)
XYZxyz(17.6960, 9.1653, 45.6274)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D26B7 #60B726
analogous
#3426B7 #7D26B7 #B726A8
triadic
#7D26B7 #B77D26 #26B77D
tetradic
#7D26B7 #B73426 #60B726 #26A8B7
square
#7D26B7 #B73426 #60B726 #26A8B7
split-complementary
#7D26B7 #A8B726 #26B734
monochromatic
#381152 #5A1B84 #7D26B7 #9C42D8 #B775E2

Accessibility & contrast

On white

7.41
#7D26B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D26B7
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D26B7#FFFFFF#000000##FFFFFF
##7D26B71.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#734C6F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d26b7;
/* rgb */ color: rgb(125, 38, 183);
/* oklch */ color: oklch(47.8% 0.212 307.0);
Tailwind
colors: {
  custom: {
    50: '#a86bce',
    500: '#7d26b7',
    950: '#000000',
  },
}
SCSS
$custom: #7d26b7;
$custom-light: #a86bce;
$custom-dark: #000000;
JSON
{
  "hex": "#7d26b7",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 183
  },
  "hsl": {
    "h": 276,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47817,
    "c": 0.21205,
    "h": 307
  },
  "luminance": 0.09165
}

Semantic roles & 50–950 ramp

primary
#7D26B7
secondary
#93CA6F
accent
#E93F83
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7D26B7

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

Preview Lab → · Contrast checker → · Palette generator →

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