#7F3FC0#7F3FC0

#7F3FC0 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.4% C 0.193 H 302.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7F3FC0
RGBrgb(127, 63, 192)
HSLhsl(270, 51%, 50%)
HSVhsv(270, 67%, 75%)
CMYKcmyk(33.9%, 67.2%, 0%, 24.7%)
CIE-LABlab(41.01, 51.86, -57.12)
CIE-LCHlch(41.01, 77.15, 312.24°)
OKLaboklab(51.42% 0.105 -0.1624)
OKLCHoklch(51.42% 0.193 302.9)
XYZxyz(20.0421, 11.8728, 51.0948)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3FC0 #80C03F
analogous
#3F40C0 #7F3FC0 #BF3FC0
triadic
#7F3FC0 #C07F3F #3FC07F
tetradic
#7F3FC0 #C03F40 #80C03F #3FC0BF
square
#7F3FC0 #C03F40 #80C03F #3FC0BF
split-complementary
#7F3FC0 #C0BF3F #40C03F
monochromatic
#422164 #613092 #7F3FC0 #9E6DCF #BC9BDE

Accessibility & contrast

On white

6.22
#7F3FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7F3FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3FC0
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3FC0#FFFFFF#000000##FFFFFF
##7F3FC01.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#0260BD
Tritanopia (blue-blind)
#725C7A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7f3fc0;
/* rgb */ color: rgb(127, 63, 192);
/* oklch */ color: oklch(51.4% 0.193 302.9);
Tailwind
colors: {
  custom: {
    50: '#a978d4',
    500: '#7f3fc0',
    950: '#000000',
  },
}
SCSS
$custom: #7f3fc0;
$custom-light: #a978d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3fc0",
  "rgb": {
    "r": 127,
    "g": 63,
    "b": 192
  },
  "hsl": {
    "h": 269.767,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.51424,
    "c": 0.19335,
    "h": 302.9
  },
  "luminance": 0.11873
}

Semantic roles & 50–950 ramp

primary
#7F3FC0
secondary
#AECA91
accent
#DA4E94
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7F3FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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