#7F26AA#7F26AA

#7F26AA is a mid, highly saturated purple. Relative luminance 0.088; OKLCH L 47.1% C 0.201 H 311.7°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7F26AA
RGBrgb(127, 38, 170)
HSLhsl(280, 63%, 41%)
HSVhsv(280, 78%, 67%)
CMYKcmyk(25.3%, 77.6%, 0%, 33.3%)
CIE-LABlab(35.60, 57.64, -52.88)
CIE-LCHlch(35.60, 78.22, 317.46°)
OKLaboklab(47.07% 0.1334 -0.1498)
OKLCHoklch(47.07% 0.201 311.7)
XYZxyz(16.6998, 8.8010, 38.8415)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F26AA #51AA26
analogous
#3D26AA #7F26AA #AA2693
triadic
#7F26AA #AA7F26 #26AA7F
tetradic
#7F26AA #AA3D26 #51AA26 #2693AA
square
#7F26AA #AA3D26 #51AA26 #2693AA
split-complementary
#7F26AA #93AA26 #26AA3D
monochromatic
#341046 #5A1B78 #7F26AA #A13AD3 #B96CDE

Accessibility & contrast

On white

7.61
#7F26AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7F26AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F26AA
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F26AA#FFFFFF#000000##FFFFFF
##7F26AA1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#0A55A7
Tritanopia (blue-blind)
#7A4667
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7f26aa;
/* rgb */ color: rgb(127, 38, 170);
/* oklch */ color: oklch(47.1% 0.201 311.7);
Tailwind
colors: {
  custom: {
    50: '#a96bc4',
    500: '#7f26aa',
    950: '#000000',
  },
}
SCSS
$custom: #7f26aa;
$custom-light: #a96bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f26aa",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 280.455,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47073,
    "c": 0.20053,
    "h": 311.7
  },
  "luminance": 0.08801
}

Semantic roles & 50–950 ramp

primary
#7F26AA
secondary
#86C567
accent
#E64177
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F26AA

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

Preview Lab → · Contrast checker → · Palette generator →

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