#7F26BC#7F26BC

#7F26BC is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.5% C 0.217 H 306.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#7F26BC
RGBrgb(127, 38, 188)
HSLhsl(276, 66%, 44%)
HSVhsv(276, 80%, 74%)
CMYKcmyk(32.4%, 79.8%, 0%, 26.3%)
CIE-LABlab(36.98, 61.49, -61.32)
CIE-LCHlch(36.98, 86.84, 315.08°)
OKLaboklab(48.48% 0.1293 -0.1745)
OKLCHoklch(48.48% 0.217 306.5)
XYZxyz(18.5206, 9.5293, 48.4309)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F26BC #63BC26
analogous
#3426BC #7F26BC #BC26AE
triadic
#7F26BC #BC7F26 #26BC7F
tetradic
#7F26BC #BC3426 #63BC26 #26AEBC
square
#7F26BC #BC3426 #63BC26 #26AEBC
split-complementary
#7F26BC #AEBC26 #26BC34
monochromatic
#3A1156 #5D1C89 #7F26BC #9D46DA #B879E4

Accessibility & contrast

On white

7.23
#7F26BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7F26BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F26BC
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F26BC#FFFFFF#000000##FFFFFF
##7F26BC1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#744E72
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7f26bc;
/* rgb */ color: rgb(127, 38, 188);
/* oklch */ color: oklch(48.5% 0.217 306.5);
Tailwind
colors: {
  custom: {
    50: '#aa6cd1',
    500: '#7f26bc',
    950: '#000000',
  },
}
SCSS
$custom: #7f26bc;
$custom-light: #aa6cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f26bc",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 188
  },
  "hsl": {
    "h": 275.6,
    "s": 66.372,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48478,
    "c": 0.21719,
    "h": 306.5
  },
  "luminance": 0.09529
}

Semantic roles & 50–950 ramp

primary
#7F26BC
secondary
#97CC72
accent
#E93F84
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #7F26BC

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

Preview Lab → · Contrast checker → · Palette generator →

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