#7C3DBD#7C3DBD

#7C3DBD is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.6% C 0.192 H 302.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7C3DBD
RGBrgb(124, 61, 189)
HSLhsl(270, 51%, 49%)
HSVhsv(270, 68%, 74%)
CMYKcmyk(34.4%, 67.7%, 0%, 25.9%)
CIE-LABlab(40.08, 51.49, -56.90)
CIE-LCHlch(40.08, 76.74, 312.14°)
OKLaboklab(50.6% 0.1034 -0.1618)
OKLCHoklch(50.6% 0.192 302.6)
XYZxyz(19.1641, 11.2967, 49.3051)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3DBD #7EBD3D
analogous
#3D3EBD #7C3DBD #BC3DBD
triadic
#7C3DBD #BD7C3D #3DBD7C
tetradic
#7C3DBD #BD3D3E #7EBD3D #3DBDBC
square
#7C3DBD #BD3D3E #7EBD3D #3DBDBC
split-complementary
#7C3DBD #BDBC3D #3EBD3D
monochromatic
#3F1F60 #5E2E8F #7C3DBD #9B69CE #BA97DD

Accessibility & contrast

On white

6.44
#7C3DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7C3DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3DBD
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3DBD#FFFFFF#000000##FFFFFF
##7C3DBD1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#6F5A78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7c3dbd;
/* rgb */ color: rgb(124, 61, 189);
/* oklch */ color: oklch(50.6% 0.192 302.6);
Tailwind
colors: {
  custom: {
    50: '#a777d2',
    500: '#7c3dbd',
    950: '#000000',
  },
}
SCSS
$custom: #7c3dbd;
$custom-light: #a777d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3dbd",
  "rgb": {
    "r": 124,
    "g": 61,
    "b": 189
  },
  "hsl": {
    "h": 269.531,
    "s": 51.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50603,
    "c": 0.19204,
    "h": 302.6
  },
  "luminance": 0.11297
}

Semantic roles & 50–950 ramp

primary
#7C3DBD
secondary
#ABC98D
accent
#DB4D95
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C3DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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