#7C3BD4#7C3BD4

#7C3BD4 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.1% C 0.219 H 297.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7C3BD4
RGBrgb(124, 59, 212)
HSLhsl(265, 64%, 53%)
HSVhsv(265, 72%, 83%)
CMYKcmyk(41.5%, 72.2%, 0%, 16.9%)
CIE-LABlab(41.48, 58.11, -67.97)
CIE-LCHlch(41.48, 89.42, 310.52°)
OKLaboklab(52.15% 0.1015 -0.1944)
OKLCHoklch(52.15% 0.219 297.6)
XYZxyz(21.7567, 12.1661, 63.4766)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3BD4 #93D43B
analogous
#3B46D4 #7C3BD4 #C83BD4
triadic
#7C3BD4 #D47C3B #3BD47C
tetradic
#7C3BD4 #D43B46 #93D43B #3BD4C8
square
#7C3BD4 #D43B46 #93D43B #3BD4C8
split-complementary
#7C3BD4 #D4C83B #46D43B
monochromatic
#431B7A #5F26AC #7C3BD4 #9E6DDF #BF9FEA

Accessibility & contrast

On white

6.12
#7C3BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7C3BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3BD4
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3BD4#FFFFFF#000000##FFFFFF
##7C3BD41.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D8
Deuteranopia (green-blind)
#0060D1
Tritanopia (blue-blind)
#666284
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7c3bd4;
/* rgb */ color: rgb(124, 59, 212);
/* oklch */ color: oklch(52.1% 0.219 297.6);
Tailwind
colors: {
  custom: {
    50: '#a977e2',
    500: '#7c3bd4',
    950: '#000000',
  },
}
SCSS
$custom: #7c3bd4;
$custom-light: #a977e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3bd4",
  "rgb": {
    "r": 124,
    "g": 59,
    "b": 212
  },
  "hsl": {
    "h": 265.49,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52147,
    "c": 0.21928,
    "h": 297.6
  },
  "luminance": 0.12166
}

Semantic roles & 50–950 ramp

primary
#7C3BD4
secondary
#BAD694
accent
#E741A0
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110915
muted
#807B84

Preview Lab

Preview with #7C3BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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