#7F3FC2#7F3FC2

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

Color values

HEX#7F3FC2
RGBrgb(127, 63, 194)
HSLhsl(269, 52%, 50%)
HSVhsv(269, 68%, 76%)
CMYKcmyk(34.5%, 67.5%, 0%, 23.9%)
CIE-LABlab(41.16, 52.34, -58.06)
CIE-LCHlch(41.16, 78.17, 312.04°)
OKLaboklab(51.57% 0.1047 -0.1651)
OKLCHoklch(51.57% 0.196 302.4)
XYZxyz(20.2652, 11.9620, 52.2697)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3FC2 #82C23F
analogous
#3F40C2 #7F3FC2 #C13FC2
triadic
#7F3FC2 #C27F3F #3FC27F
tetradic
#7F3FC2 #C23F40 #82C23F #3FC2C1
square
#7F3FC2 #C23F40 #82C23F #3FC2C1
split-complementary
#7F3FC2 #C2C13F #40C23F
monochromatic
#432066 #612F95 #7F3FC2 #9E6DD1 #BD9CE0

Accessibility & contrast

On white

6.19
#7F3FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7F3FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3FC2
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3FC2#FFFFFF#000000##FFFFFF
##7F3FC21.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#715D7B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7f3fc2;
/* rgb */ color: rgb(127, 63, 194);
/* oklch */ color: oklch(51.6% 0.196 302.4);
Tailwind
colors: {
  custom: {
    50: '#a979d5',
    500: '#7f3fc2',
    950: '#000000',
  },
}
SCSS
$custom: #7f3fc2;
$custom-light: #a979d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3fc2",
  "rgb": {
    "r": 127,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 269.313,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51571,
    "c": 0.19554,
    "h": 302.4
  },
  "luminance": 0.11962
}

Semantic roles & 50–950 ramp

primary
#7F3FC2
secondary
#AFCC91
accent
#DB4D96
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7F3FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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