#7E26BD#7E26BD

#7E26BD is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.4% C 0.218 H 305.8°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#7E26BD
RGBrgb(126, 38, 189)
HSLhsl(275, 67%, 45%)
HSVhsv(275, 80%, 74%)
CMYKcmyk(33.3%, 79.9%, 0%, 25.9%)
CIE-LABlab(36.92, 61.55, -62.01)
CIE-LCHlch(36.92, 87.37, 314.79°)
OKLaboklab(48.43% 0.1276 -0.1766)
OKLCHoklch(48.43% 0.218 305.8)
XYZxyz(18.4806, 9.4961, 48.9936)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E26BD #65BD26
analogous
#3326BD #7E26BD #BD26B1
triadic
#7E26BD #BD7E26 #26BD7E
tetradic
#7E26BD #BD3326 #65BD26 #26B1BD
square
#7E26BD #BD3326 #65BD26 #26B1BD
split-complementary
#7E26BD #B1BD26 #26BD33
monochromatic
#3A1257 #5C1C8A #7E26BD #9C46DA #B879E4

Accessibility & contrast

On white

7.24
#7E26BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7E26BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E26BD
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E26BD#FFFFFF#000000##FFFFFF
##7E26BD1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#724E72
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7e26bd;
/* rgb */ color: rgb(126, 38, 189);
/* oklch */ color: oklch(48.4% 0.218 305.8);
Tailwind
colors: {
  custom: {
    50: '#a96cd2',
    500: '#7e26bd',
    950: '#000000',
  },
}
SCSS
$custom: #7e26bd;
$custom-light: #a96cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e26bd",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 274.967,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4843,
    "c": 0.21789,
    "h": 305.8
  },
  "luminance": 0.09496
}

Semantic roles & 50–950 ramp

primary
#7E26BD
secondary
#98CC73
accent
#E93E86
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #7E26BD

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

Preview Lab → · Contrast checker → · Palette generator →

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