#7C3DD4#7C3DD4

#7C3DD4 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.4% C 0.217 H 297.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7C3DD4
RGBrgb(124, 61, 212)
HSLhsl(265, 64%, 54%)
HSVhsv(265, 71%, 83%)
CMYKcmyk(41.5%, 71.2%, 0%, 16.9%)
CIE-LABlab(41.81, 57.18, -67.44)
CIE-LCHlch(41.81, 88.42, 310.29°)
OKLaboklab(52.38% 0.0997 -0.1928)
OKLCHoklch(52.38% 0.217 297.3)
XYZxyz(21.8615, 12.3756, 63.5115)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3DD4 #95D43D
analogous
#3D49D4 #7C3DD4 #C73DD4
triadic
#7C3DD4 #D47C3D #3DD47C
tetradic
#7C3DD4 #D43D49 #95D43D #3DD4C7
square
#7C3DD4 #D43D49 #95D43D #3DD4C7
split-complementary
#7C3DD4 #D4C73D #49D43D
monochromatic
#431B7B #5F26AD #7C3DD4 #9E6FDF #C0A1EA

Accessibility & contrast

On white

6.04
#7C3DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7C3DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3DD4
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3DD4#FFFFFF#000000##FFFFFF
##7C3DD41.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#0061D1
Tritanopia (blue-blind)
#666385
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7c3dd4;
/* rgb */ color: rgb(124, 61, 212);
/* oklch */ color: oklch(52.4% 0.217 297.3);
Tailwind
colors: {
  custom: {
    50: '#a978e2',
    500: '#7c3dd4',
    950: '#000000',
  },
}
SCSS
$custom: #7c3dd4;
$custom-light: #a978e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3dd4",
  "rgb": {
    "r": 124,
    "g": 61,
    "b": 212
  },
  "hsl": {
    "h": 265.033,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52379,
    "c": 0.21704,
    "h": 297.3
  },
  "luminance": 0.12376
}

Semantic roles & 50–950 ramp

primary
#7C3DD4
secondary
#BCD796
accent
#E741A2
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110915
muted
#807B84

Preview Lab

Preview with #7C3DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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