#7F3FB0#7F3FB0

#7F3FB0 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.3% C 0.176 H 307.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7F3FB0
RGBrgb(127, 63, 176)
HSLhsl(274, 47%, 47%)
HSVhsv(274, 64%, 69%)
CMYKcmyk(27.8%, 64.2%, 0%, 31%)
CIE-LABlab(39.92, 48.03, -49.48)
CIE-LCHlch(39.92, 68.96, 314.15°)
OKLaboklab(50.29% 0.1064 -0.1399)
OKLCHoklch(50.29% 0.176 307.3)
XYZxyz(18.3647, 11.2019, 42.2606)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3FB0 #70B03F
analogous
#473FB0 #7F3FB0 #B03FA9
triadic
#7F3FB0 #B07F3F #3FB07F
tetradic
#7F3FB0 #B0473F #70B03F #3FA9B0
square
#7F3FB0 #B0473F #70B03F #3FA9B0
split-complementary
#7F3FB0 #A9B03F #3FB047
monochromatic
#3E1F56 #5E2F83 #7F3FB0 #9D65C8 #B992D8

Accessibility & contrast

On white

6.48
#7F3FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7F3FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3FB0
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3FB0#FFFFFF#000000##FFFFFF
##7F3FB01.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#295FAD
Tritanopia (blue-blind)
#775672
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7f3fb0;
/* rgb */ color: rgb(127, 63, 176);
/* oklch */ color: oklch(50.3% 0.176 307.3);
Tailwind
colors: {
  custom: {
    50: '#a878c8',
    500: '#7f3fb0',
    950: '#000000',
  },
}
SCSS
$custom: #7f3fb0;
$custom-light: #a878c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3fb0",
  "rgb": {
    "r": 127,
    "g": 63,
    "b": 176
  },
  "hsl": {
    "h": 273.982,
    "s": 47.28,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50288,
    "c": 0.17578,
    "h": 307.3
  },
  "luminance": 0.11202
}

Semantic roles & 50–950 ramp

primary
#7F3FB0
secondary
#A1C388
accent
#D7518B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7F3FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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