#7F3FBD#7F3FBD

#7F3FBD is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.190 H 303.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7F3FBD
RGBrgb(127, 63, 189)
HSLhsl(270, 50%, 49%)
HSVhsv(270, 67%, 74%)
CMYKcmyk(32.8%, 66.7%, 0%, 25.9%)
CIE-LABlab(40.80, 51.13, -55.71)
CIE-LCHlch(40.80, 75.62, 312.55°)
OKLaboklab(51.21% 0.1053 -0.1582)
OKLCHoklch(51.21% 0.19 303.7)
XYZxyz(19.7131, 11.7412, 49.3620)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3FBD #7DBD3F
analogous
#403FBD #7F3FBD #BD3FBC
triadic
#7F3FBD #BD7F3F #3FBD7F
tetradic
#7F3FBD #BD403F #7DBD3F #3FBCBD
square
#7F3FBD #BD403F #7DBD3F #3FBCBD
split-complementary
#7F3FBD #BCBD3F #3FBD40
monochromatic
#412061 #60308F #7F3FBD #9D6BCE #BC99DD

Accessibility & contrast

On white

6.27
#7F3FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7F3FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3FBD
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3FBD#FFFFFF#000000##FFFFFF
##7F3FBD1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#0F60BA
Tritanopia (blue-blind)
#735B79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7f3fbd;
/* rgb */ color: rgb(127, 63, 189);
/* oklch */ color: oklch(51.2% 0.190 303.7);
Tailwind
colors: {
  custom: {
    50: '#a978d2',
    500: '#7f3fbd',
    950: '#000000',
  },
}
SCSS
$custom: #7f3fbd;
$custom-light: #a978d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3fbd",
  "rgb": {
    "r": 127,
    "g": 63,
    "b": 189
  },
  "hsl": {
    "h": 270.476,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51205,
    "c": 0.19006,
    "h": 303.7
  },
  "luminance": 0.11741
}

Semantic roles & 50–950 ramp

primary
#7F3FBD
secondary
#ABC98F
accent
#DA4E93
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7F3FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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