#7C3BB5#7C3BB5

#7C3BB5 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.8% C 0.186 H 305.0°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7C3BB5
RGBrgb(124, 59, 181)
HSLhsl(272, 51%, 47%)
HSVhsv(272, 67%, 71%)
CMYKcmyk(31.5%, 67.4%, 0%, 29%)
CIE-LABlab(39.16, 50.53, -53.68)
CIE-LCHlch(39.16, 73.73, 313.27°)
OKLaboklab(49.76% 0.1066 -0.1524)
OKLCHoklch(49.76% 0.186 305)
XYZxyz(18.2148, 10.7493, 44.8223)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3BB5 #74B53B
analogous
#3F3BB5 #7C3BB5 #B53BB1
triadic
#7C3BB5 #B57C3B #3BB57C
tetradic
#7C3BB5 #B53F3B #74B53B #3BB1B5
square
#7C3BB5 #B53F3B #74B53B #3BB1B5
split-complementary
#7C3BB5 #B1B53B #3BB53F
monochromatic
#3D1D59 #5C2C87 #7C3BB5 #9A62CC #B890DB

Accessibility & contrast

On white

6.67
#7C3BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7C3BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3BB5
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3BB5#FFFFFF#000000##FFFFFF
##7C3BB51.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#135CB2
Tritanopia (blue-blind)
#725673
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7c3bb5;
/* rgb */ color: rgb(124, 59, 181);
/* oklch */ color: oklch(49.8% 0.186 305.0);
Tailwind
colors: {
  custom: {
    50: '#a676cc',
    500: '#7c3bb5',
    950: '#000000',
  },
}
SCSS
$custom: #7c3bb5;
$custom-light: #a676cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3bb5",
  "rgb": {
    "r": 124,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 271.967,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49763,
    "c": 0.18592,
    "h": 305
  },
  "luminance": 0.10749
}

Semantic roles & 50–950 ramp

primary
#7C3BB5
secondary
#A4C686
accent
#DA4D8F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7C3BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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