#7C26B5#7C26B5

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

Color values

HEX#7C26B5
RGBrgb(124, 38, 181)
HSLhsl(276, 65%, 43%)
HSVhsv(276, 79%, 71%)
CMYKcmyk(31.5%, 79%, 0%, 29%)
CIE-LABlab(36.00, 59.47, -58.80)
CIE-LCHlch(36.00, 83.63, 315.32°)
OKLaboklab(47.53% 0.1269 -0.1673)
OKLCHoklch(47.53% 0.21 307.2)
XYZxyz(17.3440, 9.0077, 44.5321)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C26B5 #5FB526
analogous
#3426B5 #7C26B5 #B526A6
triadic
#7C26B5 #B57C26 #26B57C
tetradic
#7C26B5 #B53426 #5FB526 #26A6B5
square
#7C26B5 #B53426 #5FB526 #26A6B5
split-complementary
#7C26B5 #A6B526 #26B534
monochromatic
#371150 #591B82 #7C26B5 #9B41D7 #B674E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C26B5#FFFFFF#000000##FFFFFF
##7C26B51.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)
#0052B9
Deuteranopia (green-blind)
#0055B2
Tritanopia (blue-blind)
#724B6E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7c26b5;
/* rgb */ color: rgb(124, 38, 181);
/* oklch */ color: oklch(47.5% 0.210 307.2);
Tailwind
colors: {
  custom: {
    50: '#a76bcc',
    500: '#7c26b5',
    950: '#000000',
  },
}
SCSS
$custom: #7c26b5;
$custom-light: #a76bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c26b5",
  "rgb": {
    "r": 124,
    "g": 38,
    "b": 181
  },
  "hsl": {
    "h": 276.084,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47527,
    "c": 0.20993,
    "h": 307.2
  },
  "luminance": 0.09008
}

Semantic roles & 50–950 ramp

primary
#7C26B5
secondary
#92C96E
accent
#E84083
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C26B5

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

Preview Lab → · Contrast checker → · Palette generator →

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