#7C3DB2#7C3DB2

#7C3DB2 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.8% C 0.180 H 305.5°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7C3DB2
RGBrgb(124, 61, 178)
HSLhsl(272, 49%, 47%)
HSVhsv(272, 66%, 70%)
CMYKcmyk(30.3%, 65.7%, 0%, 30.2%)
CIE-LABlab(39.30, 48.83, -51.67)
CIE-LCHlch(39.30, 71.09, 313.38°)
OKLaboklab(49.81% 0.1046 -0.1464)
OKLCHoklch(49.81% 0.18 305.5)
XYZxyz(18.0150, 10.8371, 43.2535)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3DB2 #73B23D
analogous
#423DB2 #7C3DB2 #B23DAE
triadic
#7C3DB2 #B27C3D #3DB27C
tetradic
#7C3DB2 #B2423D #73B23D #3DAEB2
square
#7C3DB2 #B2423D #73B23D #3DAEB2
split-complementary
#7C3DB2 #AEB23D #3DB242
monochromatic
#3C1E57 #5C2D84 #7C3DB2 #9A63C9 #B790D9

Accessibility & contrast

On white

6.63
#7C3DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7C3DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3DB2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3DB2#FFFFFF#000000##FFFFFF
##7C3DB21.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#1E5DAF
Tritanopia (blue-blind)
#735672
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c3db2;
/* rgb */ color: rgb(124, 61, 178);
/* oklch */ color: oklch(49.8% 0.180 305.5);
Tailwind
colors: {
  custom: {
    50: '#a677ca',
    500: '#7c3db2',
    950: '#000000',
  },
}
SCSS
$custom: #7c3db2;
$custom-light: #a677ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3db2",
  "rgb": {
    "r": 124,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 272.308,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49805,
    "c": 0.17995,
    "h": 305.5
  },
  "luminance": 0.10837
}

Semantic roles & 50–950 ramp

primary
#7C3DB2
secondary
#A3C487
accent
#D94F8F
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7C3DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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