#7F3ABB#7F3ABB

#7F3ABB is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.4% C 0.194 H 304.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7F3ABB
RGBrgb(127, 58, 187)
HSLhsl(272, 53%, 48%)
HSVhsv(272, 69%, 73%)
CMYKcmyk(32.1%, 69%, 0%, 26.7%)
CIE-LABlab(39.79, 53.06, -56.17)
CIE-LCHlch(39.79, 77.27, 313.37°)
OKLaboklab(50.44% 0.111 -0.1595)
OKLCHoklch(50.44% 0.194 304.8)
XYZxyz(19.2331, 11.1261, 48.1384)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3ABB #76BB3A
analogous
#3E3ABB #7F3ABB #BB3AB6
triadic
#7F3ABB #BB7F3A #3ABB7F
tetradic
#7F3ABB #BB3E3A #76BB3A #3AB6BB
square
#7F3ABB #BB3E3A #76BB3A #3AB6BB
split-complementary
#7F3ABB #B6BB3A #3ABB3E
monochromatic
#401D5E #5F2C8C #7F3ABB #9D63CF #BA92DD

Accessibility & contrast

On white

6.51
#7F3ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7F3ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3ABB
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3ABB#FFFFFF#000000##FFFFFF
##7F3ABB1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#045EB8
Tritanopia (blue-blind)
#745776
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7f3abb;
/* rgb */ color: rgb(127, 58, 187);
/* oklch */ color: oklch(50.4% 0.194 304.8);
Tailwind
colors: {
  custom: {
    50: '#a975d0',
    500: '#7f3abb',
    950: '#000000',
  },
}
SCSS
$custom: #7f3abb;
$custom-light: #a975d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3abb",
  "rgb": {
    "r": 127,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 272.093,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50437,
    "c": 0.19436,
    "h": 304.8
  },
  "luminance": 0.11126
}

Semantic roles & 50–950 ramp

primary
#7F3ABB
secondary
#A6C888
accent
#DC4C8F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7F3ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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