#7F3ABF#7F3ABF

#7F3ABF is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.7% C 0.199 H 303.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7F3ABF
RGBrgb(127, 58, 191)
HSLhsl(271, 53%, 49%)
HSVhsv(271, 70%, 75%)
CMYKcmyk(33.5%, 69.6%, 0%, 25.1%)
CIE-LABlab(40.08, 54.01, -58.05)
CIE-LCHlch(40.08, 79.29, 312.94°)
OKLaboklab(50.73% 0.1104 -0.1651)
OKLCHoklch(50.73% 0.199 303.8)
XYZxyz(19.6673, 11.2998, 50.4251)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3ABF #7ABF3A
analogous
#3D3ABF #7F3ABF #BF3ABD
triadic
#7F3ABF #BF7F3A #3ABF7F
tetradic
#7F3ABF #BF3D3A #7ABF3A #3ABDBF
square
#7F3ABF #BF3D3A #7ABF3A #3ABDBF
split-complementary
#7F3ABF #BDBF3A #3ABF3D
monochromatic
#411D61 #602C90 #7F3ABF #9D66D0 #BB95DF

Accessibility & contrast

On white

6.44
#7F3ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7F3ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3ABF
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3ABF#FFFFFF#000000##FFFFFF
##7F3ABF1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#735978
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7f3abf;
/* rgb */ color: rgb(127, 58, 191);
/* oklch */ color: oklch(50.7% 0.199 303.8);
Tailwind
colors: {
  custom: {
    50: '#a976d3',
    500: '#7f3abf',
    950: '#000000',
  },
}
SCSS
$custom: #7f3abf;
$custom-light: #a976d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3abf",
  "rgb": {
    "r": 127,
    "g": 58,
    "b": 191
  },
  "hsl": {
    "h": 271.128,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50734,
    "c": 0.1986,
    "h": 303.8
  },
  "luminance": 0.113
}

Semantic roles & 50–950 ramp

primary
#7F3ABF
secondary
#A9CA8B
accent
#DD4B91
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7F3ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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