#7F3FC4#7F3FC4

#7F3FC4 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.7% C 0.198 H 301.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7F3FC4
RGBrgb(127, 63, 196)
HSLhsl(269, 53%, 51%)
HSVhsv(269, 68%, 77%)
CMYKcmyk(35.2%, 67.9%, 0%, 23.1%)
CIE-LABlab(41.30, 52.83, -58.99)
CIE-LCHlch(41.30, 79.19, 311.85°)
OKLaboklab(51.72% 0.1045 -0.1679)
OKLCHoklch(51.72% 0.198 301.9)
XYZxyz(20.4913, 12.0525, 53.4607)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3FC4 #84C43F
analogous
#3F41C4 #7F3FC4 #C13FC4
triadic
#7F3FC4 #C47F3F #3FC47F
tetradic
#7F3FC4 #C43F41 #84C43F #3FC4C1
square
#7F3FC4 #C43F41 #84C43F #3FC4C1
split-complementary
#7F3FC4 #C4C13F #41C43F
monochromatic
#432068 #612E97 #7F3FC4 #9E6ED2 #BD9DE1

Accessibility & contrast

On white

6.16
#7F3FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7F3FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3FC4
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3FC4#FFFFFF#000000##FFFFFF
##7F3FC41.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#0061C1
Tritanopia (blue-blind)
#715E7C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7f3fc4;
/* rgb */ color: rgb(127, 63, 196);
/* oklch */ color: oklch(51.7% 0.198 301.9);
Tailwind
colors: {
  custom: {
    50: '#a979d7',
    500: '#7f3fc4',
    950: '#000000',
  },
}
SCSS
$custom: #7f3fc4;
$custom-light: #a979d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3fc4",
  "rgb": {
    "r": 127,
    "g": 63,
    "b": 196
  },
  "hsl": {
    "h": 268.872,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51719,
    "c": 0.19772,
    "h": 301.9
  },
  "luminance": 0.12053
}

Semantic roles & 50–950 ramp

primary
#7F3FC4
secondary
#B1CD92
accent
#DC4B97
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7F3FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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