#7C26AF#7C26AF

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

Color values

HEX#7C26AF
RGBrgb(124, 38, 175)
HSLhsl(278, 64%, 42%)
HSVhsv(278, 78%, 69%)
CMYKcmyk(29.1%, 78.3%, 0%, 31.4%)
CIE-LABlab(35.53, 58.16, -56.00)
CIE-LCHlch(35.53, 80.74, 316.09°)
OKLaboklab(47.05% 0.1283 -0.159)
OKLCHoklch(47.05% 0.204 308.9)
XYZxyz(16.7416, 8.7668, 41.3593)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C26AF #59AF26
analogous
#3826AF #7C26AF #AF269E
triadic
#7C26AF #AF7C26 #26AF7C
tetradic
#7C26AF #AF3826 #59AF26 #269EAF
square
#7C26AF #AF3826 #59AF26 #269EAF
split-complementary
#7C26AF #9EAF26 #26AF38
monochromatic
#35104A #581B7D #7C26AF #9C3DD5 #B670E0

Accessibility & contrast

On white

7.63
#7C26AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7C26AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C26AF
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C26AF#FFFFFF#000000##FFFFFF
##7C26AF1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#74486A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7c26af;
/* rgb */ color: rgb(124, 38, 175);
/* oklch */ color: oklch(47.1% 0.204 308.9);
Tailwind
colors: {
  custom: {
    50: '#a76bc8',
    500: '#7c26af',
    950: '#000000',
  },
}
SCSS
$custom: #7c26af;
$custom-light: #a76bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c26af",
  "rgb": {
    "r": 124,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 277.664,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47053,
    "c": 0.2043,
    "h": 308.9
  },
  "luminance": 0.08766
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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