#7F3BBF#7F3BBF

#7F3BBF is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.9% C 0.197 H 303.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7F3BBF
RGBrgb(127, 59, 191)
HSLhsl(271, 53%, 49%)
HSVhsv(271, 69%, 75%)
CMYKcmyk(33.5%, 69.1%, 0%, 25.1%)
CIE-LABlab(40.25, 53.54, -57.77)
CIE-LCHlch(40.25, 78.77, 312.82°)
OKLaboklab(50.85% 0.1094 -0.1643)
OKLCHoklch(50.85% 0.197 303.7)
XYZxyz(19.7182, 11.4016, 50.4420)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3BBF #7BBF3B
analogous
#3D3BBF #7F3BBF #BF3BBD
triadic
#7F3BBF #BF7F3B #3BBF7F
tetradic
#7F3BBF #BF3D3B #7BBF3B #3BBDBF
square
#7F3BBF #BF3D3B #7BBF3B #3BBDBF
split-complementary
#7F3BBF #BDBF3B #3BBF3D
monochromatic
#411E61 #602D90 #7F3BBF #9D67D0 #BB96DF

Accessibility & contrast

On white

6.40
#7F3BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7F3BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3BBF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3BBF#FFFFFF#000000##FFFFFF
##7F3BBF1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#735979
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7f3bbf;
/* rgb */ color: rgb(127, 59, 191);
/* oklch */ color: oklch(50.9% 0.197 303.7);
Tailwind
colors: {
  custom: {
    50: '#a976d3',
    500: '#7f3bbf',
    950: '#000000',
  },
}
SCSS
$custom: #7f3bbf;
$custom-light: #a976d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3bbf",
  "rgb": {
    "r": 127,
    "g": 59,
    "b": 191
  },
  "hsl": {
    "h": 270.909,
    "s": 52.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50854,
    "c": 0.19736,
    "h": 303.7
  },
  "luminance": 0.11402
}

Semantic roles & 50–950 ramp

primary
#7F3BBF
secondary
#AACA8C
accent
#DC4C92
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7F3BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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