#7F1AB3#7F1AB3

#7F1AB3 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.9% C 0.219 H 309.8°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7F1AB3
RGBrgb(127, 26, 179)
HSLhsl(280, 75%, 40%)
HSVhsv(280, 85%, 70%)
CMYKcmyk(29.1%, 85.5%, 0%, 29.8%)
CIE-LABlab(35.02, 63.23, -59.20)
CIE-LCHlch(35.02, 86.62, 316.89°)
OKLaboklab(46.88% 0.14 -0.1682)
OKLCHoklch(46.88% 0.219 309.8)
XYZxyz(17.2568, 8.5059, 43.3718)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1AB3 #4EB31A
analogous
#331AB3 #7F1AB3 #B31A9A
triadic
#7F1AB3 #B37F1A #1AB37F
tetradic
#7F1AB3 #B3331A #4EB31A #1A9AB3
square
#7F1AB3 #B3331A #4EB31A #1A9AB3
split-complementary
#7F1AB3 #9AB31A #1AB333
monochromatic
#330A48 #59127E #7F1AB3 #A22AE0 #BA60E8

Accessibility & contrast

On white

7.77
#7F1AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7F1AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1AB3
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1AB3#FFFFFF#000000##FFFFFF
##7F1AB31.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#77456A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7f1ab3;
/* rgb */ color: rgb(127, 26, 179);
/* oklch */ color: oklch(46.9% 0.219 309.8);
Tailwind
colors: {
  custom: {
    50: '#aa67cb',
    500: '#7f1ab3',
    950: '#000000',
  },
}
SCSS
$custom: #7f1ab3;
$custom-light: #aa67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1ab3",
  "rgb": {
    "r": 127,
    "g": 26,
    "b": 179
  },
  "hsl": {
    "h": 279.608,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46884,
    "c": 0.21886,
    "h": 309.8
  },
  "luminance": 0.08505
}

Semantic roles & 50–950 ramp

primary
#7F1AB3
secondary
#83CC5D
accent
#F13776
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #7F1AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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