#7D26AF#7D26AF

#7D26AF is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.2% C 0.205 H 309.3°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#7D26AF
RGBrgb(125, 38, 175)
HSLhsl(278, 64%, 42%)
HSVhsv(278, 78%, 69%)
CMYKcmyk(28.6%, 78.3%, 0%, 31.4%)
CIE-LABlab(35.68, 58.34, -55.75)
CIE-LCHlch(35.68, 80.70, 316.30°)
OKLaboklab(47.19% 0.1296 -0.1583)
OKLCHoklch(47.19% 0.205 309.3)
XYZxyz(16.8869, 8.8417, 41.3662)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D26AF #58AF26
analogous
#3926AF #7D26AF #AF269D
triadic
#7D26AF #AF7D26 #26AF7D
tetradic
#7D26AF #AF3926 #58AF26 #269DAF
square
#7D26AF #AF3926 #58AF26 #269DAF
split-complementary
#7D26AF #9DAF26 #26AF39
monochromatic
#35104A #591B7D #7D26AF #9E3DD5 #B770E0

Accessibility & contrast

On white

7.59
#7D26AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7D26AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D26AF
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D26AF#FFFFFF#000000##FFFFFF
##7D26AF1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#75486A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d26af;
/* rgb */ color: rgb(125, 38, 175);
/* oklch */ color: oklch(47.2% 0.205 309.3);
Tailwind
colors: {
  custom: {
    50: '#a86bc8',
    500: '#7d26af',
    950: '#000000',
  },
}
SCSS
$custom: #7d26af;
$custom-light: #a86bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d26af",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 278.102,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47186,
    "c": 0.20457,
    "h": 309.3
  },
  "luminance": 0.08841
}

Semantic roles & 50–950 ramp

primary
#7D26AF
secondary
#8CC76A
accent
#E7407D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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