#7F3FC3#7F3FC3

#7F3FC3 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.6% C 0.197 H 302.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7F3FC3
RGBrgb(127, 63, 195)
HSLhsl(269, 52%, 51%)
HSVhsv(269, 68%, 76%)
CMYKcmyk(34.9%, 67.7%, 0%, 23.5%)
CIE-LABlab(41.23, 52.59, -58.52)
CIE-LCHlch(41.23, 78.68, 311.94°)
OKLaboklab(51.65% 0.1046 -0.1665)
OKLCHoklch(51.65% 0.197 302.1)
XYZxyz(20.3779, 12.0071, 52.8632)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3FC3 #83C33F
analogous
#3F41C3 #7F3FC3 #C13FC3
triadic
#7F3FC3 #C37F3F #3FC37F
tetradic
#7F3FC3 #C33F41 #83C33F #3FC3C1
square
#7F3FC3 #C33F41 #83C33F #3FC3C1
split-complementary
#7F3FC3 #C3C13F #41C33F
monochromatic
#432067 #612F96 #7F3FC3 #9E6ED2 #BD9CE0

Accessibility & contrast

On white

6.17
#7F3FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7F3FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3FC3
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3FC3#FFFFFF#000000##FFFFFF
##7F3FC31.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#715D7C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7f3fc3;
/* rgb */ color: rgb(127, 63, 195);
/* oklch */ color: oklch(51.6% 0.197 302.1);
Tailwind
colors: {
  custom: {
    50: '#a979d6',
    500: '#7f3fc3',
    950: '#000000',
  },
}
SCSS
$custom: #7f3fc3;
$custom-light: #a979d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3fc3",
  "rgb": {
    "r": 127,
    "g": 63,
    "b": 195
  },
  "hsl": {
    "h": 269.091,
    "s": 52.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51645,
    "c": 0.19663,
    "h": 302.1
  },
  "luminance": 0.12007
}

Semantic roles & 50–950 ramp

primary
#7F3FC3
secondary
#B0CC92
accent
#DC4C96
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7F3FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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