#7C26B0#7C26B0

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

Color values

HEX#7C26B0
RGBrgb(124, 38, 176)
HSLhsl(277, 64%, 42%)
HSVhsv(277, 78%, 69%)
CMYKcmyk(29.5%, 78.4%, 0%, 31%)
CIE-LABlab(35.61, 58.38, -56.47)
CIE-LCHlch(35.61, 81.22, 315.95°)
OKLaboklab(47.13% 0.128 -0.1604)
OKLCHoklch(47.13% 0.205 308.6)
XYZxyz(16.8401, 8.8062, 41.8785)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C26B0 #5AB026
analogous
#3726B0 #7C26B0 #B0269F
triadic
#7C26B0 #B07C26 #26B07C
tetradic
#7C26B0 #B03726 #5AB026 #269FB0
square
#7C26B0 #B03726 #5AB026 #269FB0
split-complementary
#7C26B0 #9FB026 #26B037
monochromatic
#35104B #591B7E #7C26B0 #9C3ED5 #B670E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C26B0#FFFFFF#000000##FFFFFF
##7C26B01.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)
#0051B4
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#74496B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7c26b0;
/* rgb */ color: rgb(124, 38, 176);
/* oklch */ color: oklch(47.1% 0.205 308.6);
Tailwind
colors: {
  custom: {
    50: '#a76bc8',
    500: '#7c26b0',
    950: '#000000',
  },
}
SCSS
$custom: #7c26b0;
$custom-light: #a76bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c26b0",
  "rgb": {
    "r": 124,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 277.391,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47131,
    "c": 0.20524,
    "h": 308.6
  },
  "luminance": 0.08806
}

Semantic roles & 50–950 ramp

primary
#7C26B0
secondary
#8EC76B
accent
#E7407F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C26B0

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

Preview Lab → · Contrast checker → · Palette generator →

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