#7C26B7#7C26B7

#7C26B7 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.7% C 0.212 H 306.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7C26B7
RGBrgb(124, 38, 183)
HSLhsl(276, 66%, 43%)
HSVhsv(276, 79%, 72%)
CMYKcmyk(32.2%, 79.2%, 0%, 28.2%)
CIE-LABlab(36.16, 59.90, -59.73)
CIE-LCHlch(36.16, 84.59, 315.08°)
OKLaboklab(47.69% 0.1264 -0.17)
OKLCHoklch(47.69% 0.212 306.6)
XYZxyz(17.5507, 9.0904, 45.6206)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C26B7 #61B726
analogous
#3326B7 #7C26B7 #B726A9
triadic
#7C26B7 #B77C26 #26B77C
tetradic
#7C26B7 #B73326 #61B726 #26A9B7
square
#7C26B7 #B73326 #61B726 #26A9B7
split-complementary
#7C26B7 #A9B726 #26B733
monochromatic
#371152 #5A1B84 #7C26B7 #9B42D8 #B675E2

Accessibility & contrast

On white

7.45
#7C26B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7C26B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C26B7
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C26B7#FFFFFF#000000##FFFFFF
##7C26B71.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#724C6F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7c26b7;
/* rgb */ color: rgb(124, 38, 183);
/* oklch */ color: oklch(47.7% 0.212 306.6);
Tailwind
colors: {
  custom: {
    50: '#a86bce',
    500: '#7c26b7',
    950: '#000000',
  },
}
SCSS
$custom: #7c26b7;
$custom-light: #a86bce;
$custom-dark: #000000;
JSON
{
  "hex": "#7c26b7",
  "rgb": {
    "r": 124,
    "g": 38,
    "b": 183
  },
  "hsl": {
    "h": 275.586,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47687,
    "c": 0.21181,
    "h": 306.6
  },
  "luminance": 0.0909
}

Semantic roles & 50–950 ramp

primary
#7C26B7
secondary
#94CA6F
accent
#E93F84
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7C26B7

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

Preview Lab → · Contrast checker → · Palette generator →

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