#7F26B0#7F26B0

#7F26B0 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.5% C 0.206 H 309.9°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#7F26B0
RGBrgb(127, 38, 176)
HSLhsl(279, 64%, 42%)
HSVhsv(279, 78%, 69%)
CMYKcmyk(27.8%, 78.4%, 0%, 31%)
CIE-LABlab(36.05, 58.91, -55.73)
CIE-LCHlch(36.05, 81.09, 316.59°)
OKLaboklab(47.53% 0.1321 -0.1581)
OKLCHoklch(47.53% 0.206 309.9)
XYZxyz(17.2804, 9.0332, 41.8991)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F26B0 #57B026
analogous
#3A26B0 #7F26B0 #B0269C
triadic
#7F26B0 #B07F26 #26B07F
tetradic
#7F26B0 #B03A26 #57B026 #269CB0
square
#7F26B0 #B03A26 #57B026 #269CB0
split-complementary
#7F26B0 #9CB026 #26B03A
monochromatic
#36104B #5B1B7E #7F26B0 #A03ED5 #B870E0

Accessibility & contrast

On white

7.48
#7F26B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7F26B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F26B0
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F26B0#FFFFFF#000000##FFFFFF
##7F26B01.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#78486B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7f26b0;
/* rgb */ color: rgb(127, 38, 176);
/* oklch */ color: oklch(47.5% 0.206 309.9);
Tailwind
colors: {
  custom: {
    50: '#a96bc8',
    500: '#7f26b0',
    950: '#000000',
  },
}
SCSS
$custom: #7f26b0;
$custom-light: #a96bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f26b0",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 278.696,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47531,
    "c": 0.20606,
    "h": 309.9
  },
  "luminance": 0.09033
}

Semantic roles & 50–950 ramp

primary
#7F26B0
secondary
#8CC76B
accent
#E7407C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F26B0

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

Preview Lab → · Contrast checker → · Palette generator →

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