#7F3ABD#7F3ABD

#7F3ABD is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.6% C 0.196 H 304.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7F3ABD
RGBrgb(127, 58, 189)
HSLhsl(272, 53%, 48%)
HSVhsv(272, 69%, 74%)
CMYKcmyk(32.8%, 69.3%, 0%, 25.9%)
CIE-LABlab(39.94, 53.53, -57.11)
CIE-LCHlch(39.94, 78.28, 313.15°)
OKLaboklab(50.59% 0.1107 -0.1623)
OKLCHoklch(50.59% 0.196 304.3)
XYZxyz(19.4487, 11.2123, 49.2738)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3ABD #78BD3A
analogous
#3D3ABD #7F3ABD #BD3AB9
triadic
#7F3ABD #BD7F3A #3ABD7F
tetradic
#7F3ABD #BD3D3A #78BD3A #3AB9BD
square
#7F3ABD #BD3D3A #78BD3A #3AB9BD
split-complementary
#7F3ABD #B9BD3A #3ABD3D
monochromatic
#401D5F #602C8E #7F3ABD #9D65D0 #BB93DE

Accessibility & contrast

On white

6.48
#7F3ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7F3ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3ABD
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3ABD#FFFFFF#000000##FFFFFF
##7F3ABD1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#735877
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7f3abd;
/* rgb */ color: rgb(127, 58, 189);
/* oklch */ color: oklch(50.6% 0.196 304.3);
Tailwind
colors: {
  custom: {
    50: '#a975d2',
    500: '#7f3abd',
    950: '#000000',
  },
}
SCSS
$custom: #7f3abd;
$custom-light: #a975d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3abd",
  "rgb": {
    "r": 127,
    "g": 58,
    "b": 189
  },
  "hsl": {
    "h": 271.603,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50585,
    "c": 0.19648,
    "h": 304.3
  },
  "luminance": 0.11212
}

Semantic roles & 50–950 ramp

primary
#7F3ABD
secondary
#A8C98A
accent
#DC4B90
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7F3ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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