#7F3BB0#7F3BB0

#7F3BB0 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.8% C 0.181 H 307.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7F3BB0
RGBrgb(127, 59, 176)
HSLhsl(275, 50%, 46%)
HSVhsv(275, 66%, 69%)
CMYKcmyk(27.8%, 66.5%, 0%, 31%)
CIE-LABlab(39.20, 50.01, -50.64)
CIE-LCHlch(39.20, 71.17, 314.64°)
OKLaboklab(49.77% 0.1111 -0.1433)
OKLCHoklch(49.77% 0.181 307.8)
XYZxyz(18.1512, 10.7748, 42.1894)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3BB0 #6CB03B
analogous
#443BB0 #7F3BB0 #B03BA6
triadic
#7F3BB0 #B07F3B #3BB07F
tetradic
#7F3BB0 #B0443B #6CB03B #3BA6B0
square
#7F3BB0 #B0443B #6CB03B #3BA6B0
split-complementary
#7F3BB0 #A6B03B #3BB044
monochromatic
#3D1C54 #5E2C82 #7F3BB0 #9D5FC9 #B98DD9

Accessibility & contrast

On white

6.66
#7F3BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7F3BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3BB0
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3BB0#FFFFFF#000000##FFFFFF
##7F3BB01.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#235DAD
Tritanopia (blue-blind)
#775470
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7f3bb0;
/* rgb */ color: rgb(127, 59, 176);
/* oklch */ color: oklch(49.8% 0.181 307.8);
Tailwind
colors: {
  custom: {
    50: '#a876c8',
    500: '#7f3bb0',
    950: '#000000',
  },
}
SCSS
$custom: #7f3bb0;
$custom-light: #a876c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3bb0",
  "rgb": {
    "r": 127,
    "g": 59,
    "b": 176
  },
  "hsl": {
    "h": 274.872,
    "s": 49.787,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49769,
    "c": 0.18133,
    "h": 307.8
  },
  "luminance": 0.10775
}

Semantic roles & 50–950 ramp

primary
#7F3BB0
secondary
#9EC383
accent
#D94E89
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7F3BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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