#7F3BBC#7F3BBC

#7F3BBC is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.6% C 0.194 H 304.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7F3BBC
RGBrgb(127, 59, 188)
HSLhsl(272, 52%, 48%)
HSVhsv(272, 69%, 74%)
CMYKcmyk(32.4%, 68.6%, 0%, 26.3%)
CIE-LABlab(40.03, 52.83, -56.36)
CIE-LCHlch(40.03, 77.25, 313.14°)
OKLaboklab(50.63% 0.1098 -0.1601)
OKLCHoklch(50.63% 0.194 304.4)
XYZxyz(19.3914, 11.2709, 48.7211)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3BBC #78BC3B
analogous
#3E3BBC #7F3BBC #BC3BB8
triadic
#7F3BBC #BC7F3B #3BBC7F
tetradic
#7F3BBC #BC3E3B #78BC3B #3BB8BC
square
#7F3BBC #BC3E3B #78BC3B #3BB8BC
split-complementary
#7F3BBC #B8BC3B #3BBC3E
monochromatic
#401E5F #602C8D #7F3BBC #9D65CF #BB94DD

Accessibility & contrast

On white

6.45
#7F3BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7F3BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3BBC
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3BBC#FFFFFF#000000##FFFFFF
##7F3BBC1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#035EB9
Tritanopia (blue-blind)
#745877
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7f3bbc;
/* rgb */ color: rgb(127, 59, 188);
/* oklch */ color: oklch(50.6% 0.194 304.4);
Tailwind
colors: {
  custom: {
    50: '#a976d1',
    500: '#7f3bbc',
    950: '#000000',
  },
}
SCSS
$custom: #7f3bbc;
$custom-light: #a976d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3bbc",
  "rgb": {
    "r": 127,
    "g": 59,
    "b": 188
  },
  "hsl": {
    "h": 271.628,
    "s": 52.227,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50632,
    "c": 0.19416,
    "h": 304.4
  },
  "luminance": 0.11271
}

Semantic roles & 50–950 ramp

primary
#7F3BBC
secondary
#A8C98A
accent
#DC4C90
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7F3BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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