#7D26B3#7D26B3

#7D26B3 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.5% C 0.208 H 308.2°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#7D26B3
RGBrgb(125, 38, 179)
HSLhsl(277, 65%, 43%)
HSVhsv(277, 79%, 70%)
CMYKcmyk(30.2%, 78.8%, 0%, 29.8%)
CIE-LABlab(35.99, 59.20, -57.63)
CIE-LCHlch(35.99, 82.62, 315.77°)
OKLaboklab(47.5% 0.1287 -0.1638)
OKLCHoklch(47.5% 0.208 308.2)
XYZxyz(17.2855, 9.0011, 43.4659)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D26B3 #5CB326
analogous
#3626B3 #7D26B3 #B326A3
triadic
#7D26B3 #B37D26 #26B37D
tetradic
#7D26B3 #B33626 #5CB326 #26A3B3
square
#7D26B3 #B33626 #5CB326 #26A3B3
split-complementary
#7D26B3 #A3B326 #26B336
monochromatic
#36114E #5A1B81 #7D26B3 #9D40D6 #B772E1

Accessibility & contrast

On white

7.50
#7D26B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7D26B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D26B3
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D26B3#FFFFFF#000000##FFFFFF
##7D26B31.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#744A6C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d26b3;
/* rgb */ color: rgb(125, 38, 179);
/* oklch */ color: oklch(47.5% 0.208 308.2);
Tailwind
colors: {
  custom: {
    50: '#a86bcb',
    500: '#7d26b3',
    950: '#000000',
  },
}
SCSS
$custom: #7d26b3;
$custom-light: #a86bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d26b3",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 179
  },
  "hsl": {
    "h": 277.021,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47499,
    "c": 0.20831,
    "h": 308.2
  },
  "luminance": 0.09001
}

Semantic roles & 50–950 ramp

primary
#7D26B3
secondary
#90C86D
accent
#E84080
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D26B3

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

Preview Lab → · Contrast checker → · Palette generator →

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