#7C3BD6#7C3BD6

#7C3BD6 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.3% C 0.221 H 297.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7C3BD6
RGBrgb(124, 59, 214)
HSLhsl(265, 65%, 54%)
HSVhsv(265, 72%, 84%)
CMYKcmyk(42.1%, 72.4%, 0%, 16.1%)
CIE-LABlab(41.64, 58.60, -68.86)
CIE-LCHlch(41.64, 90.43, 310.40°)
OKLaboklab(52.31% 0.1011 -0.197)
OKLCHoklch(52.31% 0.221 297.2)
XYZxyz(22.0106, 12.2676, 64.8135)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3BD6 #95D63B
analogous
#3B47D6 #7C3BD6 #C93BD6
triadic
#7C3BD6 #D67C3B #3BD67C
tetradic
#7C3BD6 #D63B47 #95D63B #3BD6C9
square
#7C3BD6 #D63B47 #95D63B #3BD6C9
split-complementary
#7C3BD6 #D6C93B #47D63B
monochromatic
#431A7D #5F25AF #7C3BD6 #9E6EE1 #C0A0EB

Accessibility & contrast

On white

6.08
#7C3BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7C3BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3BD6
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3BD6#FFFFFF#000000##FFFFFF
##7C3BD61.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DA
Deuteranopia (green-blind)
#0060D3
Tritanopia (blue-blind)
#656385
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7c3bd6;
/* rgb */ color: rgb(124, 59, 214);
/* oklch */ color: oklch(52.3% 0.221 297.2);
Tailwind
colors: {
  custom: {
    50: '#a977e4',
    500: '#7c3bd6',
    950: '#000000',
  },
}
SCSS
$custom: #7c3bd6;
$custom-light: #a977e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3bd6",
  "rgb": {
    "r": 124,
    "g": 59,
    "b": 214
  },
  "hsl": {
    "h": 265.161,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52309,
    "c": 0.2214,
    "h": 297.2
  },
  "luminance": 0.12268
}

Semantic roles & 50–950 ramp

primary
#7C3BD6
secondary
#BCD895
accent
#E83FA2
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7C3BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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