#7F3FC7#7F3FC7

#7F3FC7 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.9% C 0.201 H 301.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7F3FC7
RGBrgb(127, 63, 199)
HSLhsl(268, 55%, 51%)
HSVhsv(268, 68%, 78%)
CMYKcmyk(36.2%, 68.3%, 0%, 22%)
CIE-LABlab(41.52, 53.56, -60.38)
CIE-LCHlch(41.52, 80.72, 311.58°)
OKLaboklab(51.94% 0.1041 -0.1719)
OKLCHoklch(51.94% 0.201 301.2)
XYZxyz(20.8362, 12.1904, 55.2770)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3FC7 #87C73F
analogous
#3F43C7 #7F3FC7 #C33FC7
triadic
#7F3FC7 #C77F3F #3FC77F
tetradic
#7F3FC7 #C73F43 #87C73F #3FC7C3
square
#7F3FC7 #C73F43 #87C73F #3FC7C3
split-complementary
#7F3FC7 #C7C33F #43C73F
monochromatic
#44206C #612D9B #7F3FC7 #9F6ED5 #BE9EE3

Accessibility & contrast

On white

6.11
#7F3FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7F3FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3FC7
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3FC7#FFFFFF#000000##FFFFFF
##7F3FC71.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#0061C4
Tritanopia (blue-blind)
#705F7E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7f3fc7;
/* rgb */ color: rgb(127, 63, 199);
/* oklch */ color: oklch(51.9% 0.201 301.2);
Tailwind
colors: {
  custom: {
    50: '#aa79d9',
    500: '#7f3fc7',
    950: '#000000',
  },
}
SCSS
$custom: #7f3fc7;
$custom-light: #aa79d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3fc7",
  "rgb": {
    "r": 127,
    "g": 63,
    "b": 199
  },
  "hsl": {
    "h": 268.235,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51943,
    "c": 0.20099,
    "h": 301.2
  },
  "luminance": 0.12191
}

Semantic roles & 50–950 ramp

primary
#7F3FC7
secondary
#B3CF93
accent
#DE4A98
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7F3FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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