#7C3BB7#7C3BB7

#7C3BB7 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.9% C 0.188 H 304.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7C3BB7
RGBrgb(124, 59, 183)
HSLhsl(271, 51%, 47%)
HSVhsv(271, 68%, 72%)
CMYKcmyk(32.2%, 67.8%, 0%, 28.2%)
CIE-LABlab(39.30, 51.01, -54.64)
CIE-LCHlch(39.30, 74.75, 313.03°)
OKLaboklab(49.91% 0.1063 -0.1551)
OKLCHoklch(49.91% 0.188 304.4)
XYZxyz(18.4215, 10.8320, 45.9109)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3BB7 #76B73B
analogous
#3E3BB7 #7C3BB7 #B73BB4
triadic
#7C3BB7 #B77C3B #3BB77C
tetradic
#7C3BB7 #B73E3B #76B73B #3BB4B7
square
#7C3BB7 #B73E3B #76B73B #3BB4B7
split-complementary
#7C3BB7 #B4B73B #3BB73E
monochromatic
#3D1D5A #5D2C89 #7C3BB7 #9A63CD #B891DC

Accessibility & contrast

On white

6.63
#7C3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7C3BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3BB7
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3BB7#FFFFFF#000000##FFFFFF
##7C3BB71.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#0C5DB4
Tritanopia (blue-blind)
#715774
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c3bb7;
/* rgb */ color: rgb(124, 59, 183);
/* oklch */ color: oklch(49.9% 0.188 304.4);
Tailwind
colors: {
  custom: {
    50: '#a676cd',
    500: '#7c3bb7',
    950: '#000000',
  },
}
SCSS
$custom: #7c3bb7;
$custom-light: #a676cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3bb7",
  "rgb": {
    "r": 124,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 271.452,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49909,
    "c": 0.18809,
    "h": 304.4
  },
  "luminance": 0.10832
}

Semantic roles & 50–950 ramp

primary
#7C3BB7
secondary
#A5C687
accent
#DB4D90
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7C3BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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