#7C26BD#7C26BD

#7C26BD is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.2% C 0.217 H 305.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#7C26BD
RGBrgb(124, 38, 189)
HSLhsl(274, 67%, 45%)
HSVhsv(274, 80%, 74%)
CMYKcmyk(34.4%, 79.9%, 0%, 25.9%)
CIE-LABlab(36.64, 61.23, -62.48)
CIE-LCHlch(36.64, 87.48, 314.42°)
OKLaboklab(48.18% 0.1248 -0.1781)
OKLCHoklch(48.18% 0.217 305)
XYZxyz(18.1885, 9.3455, 48.9799)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C26BD #67BD26
analogous
#3026BD #7C26BD #BD26B3
triadic
#7C26BD #BD7C26 #26BD7C
tetradic
#7C26BD #BD3026 #67BD26 #26B3BD
square
#7C26BD #BD3026 #67BD26 #26B3BD
split-complementary
#7C26BD #B3BD26 #26BD30
monochromatic
#391257 #5B1C8A #7C26BD #9A46DA #B679E4

Accessibility & contrast

On white

7.32
#7C26BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7C26BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C26BD
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C26BD#FFFFFF#000000##FFFFFF
##7C26BD1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#704F72
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7c26bd;
/* rgb */ color: rgb(124, 38, 189);
/* oklch */ color: oklch(48.2% 0.217 305.0);
Tailwind
colors: {
  custom: {
    50: '#a86bd2',
    500: '#7c26bd',
    950: '#000000',
  },
}
SCSS
$custom: #7c26bd;
$custom-light: #a86bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c26bd",
  "rgb": {
    "r": 124,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 274.172,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48175,
    "c": 0.21745,
    "h": 305
  },
  "luminance": 0.09345
}

Semantic roles & 50–950 ramp

primary
#7C26BD
secondary
#99CC73
accent
#E93E88
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7C26BD

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

Preview Lab → · Contrast checker → · Palette generator →

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