#7F11B4#7F11B4

#7F11B4 is a mid, highly saturated purple. Relative luminance 0.082; OKLCH L 46.5% C 0.225 H 309.9°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#7F11B4
RGBrgb(127, 17, 180)
HSLhsl(280, 83%, 39%)
HSVhsv(280, 91%, 71%)
CMYKcmyk(29.4%, 90.6%, 0%, 29.4%)
CIE-LABlab(34.41, 65.46, -60.78)
CIE-LCHlch(34.41, 89.32, 317.12°)
OKLaboklab(46.49% 0.1443 -0.1728)
OKLCHoklch(46.49% 0.225 309.9)
XYZxyz(17.1894, 8.2086, 43.8501)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F11B4 #46B411
analogous
#2E11B4 #7F11B4 #B41197
triadic
#7F11B4 #B47F11 #11B47F
tetradic
#7F11B4 #B42E11 #46B411 #1197B4
square
#7F11B4 #B42E11 #46B411 #1197B4
split-complementary
#7F11B4 #97B411 #11B42E
monochromatic
#300644 #580C7C #7F11B4 #A619E9 #BB51EF

Accessibility & contrast

On white

7.95
#7F11B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7F11B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F11B4
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F11B4#FFFFFF#000000##FFFFFF
##7F11B41.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#77436A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7f11b4;
/* rgb */ color: rgb(127, 17, 180);
/* oklch */ color: oklch(46.5% 0.225 309.9);
Tailwind
colors: {
  custom: {
    50: '#aa64cb',
    500: '#7f11b4',
    950: '#000000',
  },
}
SCSS
$custom: #7f11b4;
$custom-light: #aa64cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f11b4",
  "rgb": {
    "r": 127,
    "g": 17,
    "b": 180
  },
  "hsl": {
    "h": 280.491,
    "s": 82.741,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46494,
    "c": 0.22516,
    "h": 309.9
  },
  "luminance": 0.08208
}

Semantic roles & 50–950 ramp

primary
#7F11B4
secondary
#7AD050
accent
#F92F71
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110613
muted
#807A82

Preview Lab

Preview with #7F11B4

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

Preview Lab → · Contrast checker → · Palette generator →

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