#7F3FBF#7F3FBF

#7F3FBF is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.3% C 0.192 H 303.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7F3FBF
RGBrgb(127, 63, 191)
HSLhsl(270, 50%, 50%)
HSVhsv(270, 67%, 75%)
CMYKcmyk(33.5%, 67%, 0%, 25.1%)
CIE-LABlab(40.94, 51.61, -56.65)
CIE-LCHlch(40.94, 76.64, 312.34°)
OKLaboklab(51.35% 0.1051 -0.161)
OKLCHoklch(51.35% 0.192 303.1)
XYZxyz(19.9317, 11.8286, 50.5132)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3FBF #7FBF3F
analogous
#3F3FBF #7F3FBF #BF3FBF
triadic
#7F3FBF #BF7F3F #3FBF7F
tetradic
#7F3FBF #BF3F3F #7FBF3F #3FBFBF
square
#7F3FBF #BF3F3F #7FBF3F #3FBFBF
split-complementary
#7F3FBF #BFBF3F #3FBF3F
monochromatic
#422163 #603091 #7F3FBF #9E6DCF #BC9BDE

Accessibility & contrast

On white

6.24
#7F3FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7F3FBF
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3FBF#FFFFFF#000000##FFFFFF
##7F3FBF1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0660BC
Tritanopia (blue-blind)
#725C7A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7f3fbf;
/* rgb */ color: rgb(127, 63, 191);
/* oklch */ color: oklch(51.3% 0.192 303.1);
Tailwind
colors: {
  custom: {
    50: '#a978d3',
    500: '#7f3fbf',
    950: '#000000',
  },
}
SCSS
$custom: #7f3fbf;
$custom-light: #a978d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3fbf",
  "rgb": {
    "r": 127,
    "g": 63,
    "b": 191
  },
  "hsl": {
    "h": 270,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5135,
    "c": 0.19226,
    "h": 303.1
  },
  "luminance": 0.11829
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F3FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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