#7F26AE#7F26AE

#7F26AE is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.204 H 310.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7F26AE
RGBrgb(127, 38, 174)
HSLhsl(279, 64%, 42%)
HSVhsv(279, 78%, 68%)
CMYKcmyk(27%, 78.2%, 0%, 31.8%)
CIE-LABlab(35.90, 58.48, -54.79)
CIE-LCHlch(35.90, 80.14, 316.87°)
OKLaboklab(47.38% 0.1325 -0.1554)
OKLCHoklch(47.38% 0.204 310.5)
XYZxyz(17.0840, 8.9546, 40.8646)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F26AE #55AE26
analogous
#3B26AE #7F26AE #AE2699
triadic
#7F26AE #AE7F26 #26AE7F
tetradic
#7F26AE #AE3B26 #55AE26 #2699AE
square
#7F26AE #AE3B26 #55AE26 #2699AE
split-complementary
#7F26AE #99AE26 #26AE3B
monochromatic
#36104A #5A1B7C #7F26AE #A03DD5 #B96FE0

Accessibility & contrast

On white

7.52
#7F26AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7F26AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F26AE
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F26AE#FFFFFF#000000##FFFFFF
##7F26AE1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#78476A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7f26ae;
/* rgb */ color: rgb(127, 38, 174);
/* oklch */ color: oklch(47.4% 0.204 310.5);
Tailwind
colors: {
  custom: {
    50: '#a96bc7',
    500: '#7f26ae',
    950: '#000000',
  },
}
SCSS
$custom: #7f26ae;
$custom-light: #a96bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f26ae",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 279.265,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47377,
    "c": 0.20421,
    "h": 310.5
  },
  "luminance": 0.08954
}

Semantic roles & 50–950 ramp

primary
#7F26AE
secondary
#8AC66A
accent
#E7417A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F26AE

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

Preview Lab → · Contrast checker → · Palette generator →

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