#7C3BA2#7C3BA2

#7C3BA2 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.4% C 0.165 H 310.8°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#7C3BA2
RGBrgb(124, 59, 162)
HSLhsl(278, 47%, 43%)
HSVhsv(278, 64%, 64%)
CMYKcmyk(23.5%, 63.6%, 0%, 36.5%)
CIE-LABlab(37.88, 46.09, -44.42)
CIE-LCHlch(37.88, 64.01, 316.05°)
OKLaboklab(48.44% 0.108 -0.1252)
OKLCHoklch(48.44% 0.165 310.8)
XYZxyz(16.3965, 10.0220, 35.2461)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3BA2 #61A23B
analogous
#483BA2 #7C3BA2 #A23B94
triadic
#7C3BA2 #A27C3B #3BA27C
tetradic
#7C3BA2 #A2483B #61A23B #3B94A2
square
#7C3BA2 #A2483B #61A23B #3B94A2
split-complementary
#7C3BA2 #94A23B #3BA248
monochromatic
#371A48 #5A2B75 #7C3BA2 #9B58C2 #B685D3

Accessibility & contrast

On white

6.99
#7C3BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#7C3BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3BA2
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3BA2#FFFFFF#000000##FFFFFF
##7C3BA21.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0956A5
Deuteranopia (green-blind)
#305AA0
Tritanopia (blue-blind)
#774F69
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7c3ba2;
/* rgb */ color: rgb(124, 59, 162);
/* oklch */ color: oklch(48.4% 0.165 310.8);
Tailwind
colors: {
  custom: {
    50: '#a575be',
    500: '#7c3ba2',
    950: '#000000',
  },
}
SCSS
$custom: #7c3ba2;
$custom-light: #a575be;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3ba2",
  "rgb": {
    "r": 124,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 277.864,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4844,
    "c": 0.16528,
    "h": 310.8
  },
  "luminance": 0.10022
}

Semantic roles & 50–950 ramp

primary
#7C3BA2
secondary
#94BD7C
accent
#D65283
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7C3BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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