#7C3CD4#7C3CD4

#7C3CD4 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.3% C 0.218 H 297.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7C3CD4
RGBrgb(124, 60, 212)
HSLhsl(265, 64%, 53%)
HSVhsv(265, 72%, 83%)
CMYKcmyk(41.5%, 71.7%, 0%, 16.9%)
CIE-LABlab(41.64, 57.65, -67.71)
CIE-LCHlch(41.64, 88.92, 310.41°)
OKLaboklab(52.26% 0.1006 -0.1936)
OKLCHoklch(52.26% 0.218 297.5)
XYZxyz(21.8086, 12.2699, 63.4939)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3CD4 #94D43C
analogous
#3C48D4 #7C3CD4 #C83CD4
triadic
#7C3CD4 #D47C3C #3CD47C
tetradic
#7C3CD4 #D43C48 #94D43C #3CD4C8
square
#7C3CD4 #D43C48 #94D43C #3CD4C8
split-complementary
#7C3CD4 #D4C83C #48D43C
monochromatic
#431B7B #5F26AD #7C3CD4 #9E6EDF #BFA0EA

Accessibility & contrast

On white

6.08
#7C3CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7C3CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3CD4
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3CD4#FFFFFF#000000##FFFFFF
##7C3CD41.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#0060D1
Tritanopia (blue-blind)
#666284
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7c3cd4;
/* rgb */ color: rgb(124, 60, 212);
/* oklch */ color: oklch(52.3% 0.218 297.5);
Tailwind
colors: {
  custom: {
    50: '#a977e2',
    500: '#7c3cd4',
    950: '#000000',
  },
}
SCSS
$custom: #7c3cd4;
$custom-light: #a977e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3cd4",
  "rgb": {
    "r": 124,
    "g": 60,
    "b": 212
  },
  "hsl": {
    "h": 265.263,
    "s": 63.866,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52262,
    "c": 0.21816,
    "h": 297.5
  },
  "luminance": 0.1227
}

Semantic roles & 50–950 ramp

primary
#7C3CD4
secondary
#BBD795
accent
#E741A1
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110915
muted
#807B84

Preview Lab

Preview with #7C3CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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