#7C3DC7#7C3DC7

#7C3DC7 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.4% C 0.203 H 300.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7C3DC7
RGBrgb(124, 61, 199)
HSLhsl(267, 55%, 51%)
HSVhsv(267, 69%, 78%)
CMYKcmyk(37.7%, 69.3%, 0%, 22%)
CIE-LABlab(40.81, 53.94, -61.55)
CIE-LCHlch(40.81, 81.84, 311.23°)
OKLaboklab(51.36% 0.102 -0.1755)
OKLCHoklch(51.36% 0.203 300.2)
XYZxyz(20.2872, 11.7459, 55.2201)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3DC7 #88C73D
analogous
#3D43C7 #7C3DC7 #C13DC7
triadic
#7C3DC7 #C77C3D #3DC77C
tetradic
#7C3DC7 #C73D43 #88C73D #3DC7C1
square
#7C3DC7 #C73D43 #88C73D #3DC7C1
split-complementary
#7C3DC7 #C7C13D #43C73D
monochromatic
#411F6B #5F2D9A #7C3DC7 #9C6CD5 #BC9CE2

Accessibility & contrast

On white

6.27
#7C3DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7C3DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3DC7
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3DC7#FFFFFF#000000##FFFFFF
##7C3DC71.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#005FC4
Tritanopia (blue-blind)
#6B5E7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7c3dc7;
/* rgb */ color: rgb(124, 61, 199);
/* oklch */ color: oklch(51.4% 0.203 300.2);
Tailwind
colors: {
  custom: {
    50: '#a877d9',
    500: '#7c3dc7',
    950: '#000000',
  },
}
SCSS
$custom: #7c3dc7;
$custom-light: #a877d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3dc7",
  "rgb": {
    "r": 124,
    "g": 61,
    "b": 199
  },
  "hsl": {
    "h": 267.391,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51358,
    "c": 0.20296,
    "h": 300.2
  },
  "luminance": 0.11746
}

Semantic roles & 50–950 ramp

primary
#7C3DC7
secondary
#B3CE91
accent
#DF499A
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C3DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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