#7C3DBA#7C3DBA

#7C3DBA is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.4% C 0.189 H 303.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7C3DBA
RGBrgb(124, 61, 186)
HSLhsl(270, 51%, 48%)
HSVhsv(270, 67%, 73%)
CMYKcmyk(33.3%, 67.2%, 0%, 27.1%)
CIE-LABlab(39.86, 50.76, -55.49)
CIE-LCHlch(39.86, 75.20, 312.45°)
OKLaboklab(50.38% 0.1038 -0.1577)
OKLCHoklch(50.38% 0.189 303.4)
XYZxyz(18.8418, 11.1678, 47.6078)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3DBA #7BBA3D
analogous
#3D3DBA #7C3DBA #BA3DB9
triadic
#7C3DBA #BA7C3D #3DBA7C
tetradic
#7C3DBA #BA3D3D #7BBA3D #3DB9BA
square
#7C3DBA #BA3D3D #7BBA3D #3DB9BA
split-complementary
#7C3DBA #B9BA3D #3DBA3D
monochromatic
#3F1F5E #5D2E8C #7C3DBA #9B67CD #B995DC

Accessibility & contrast

On white

6.49
#7C3DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7C3DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3DBA
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3DBA#FFFFFF#000000##FFFFFF
##7C3DBA1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#075EB7
Tritanopia (blue-blind)
#705976
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7c3dba;
/* rgb */ color: rgb(124, 61, 186);
/* oklch */ color: oklch(50.4% 0.189 303.4);
Tailwind
colors: {
  custom: {
    50: '#a777cf',
    500: '#7c3dba',
    950: '#000000',
  },
}
SCSS
$custom: #7c3dba;
$custom-light: #a777cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3dba",
  "rgb": {
    "r": 124,
    "g": 61,
    "b": 186
  },
  "hsl": {
    "h": 270.24,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50382,
    "c": 0.18875,
    "h": 303.4
  },
  "luminance": 0.11168
}

Semantic roles & 50–950 ramp

primary
#7C3DBA
secondary
#A9C88B
accent
#DA4E93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7C3DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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