#7C3CD5#7C3CD5

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

Color values

HEX#7C3CD5
RGBrgb(124, 60, 213)
HSLhsl(265, 65%, 54%)
HSVhsv(265, 72%, 84%)
CMYKcmyk(41.8%, 71.8%, 0%, 16.5%)
CIE-LABlab(41.72, 57.90, -68.15)
CIE-LCHlch(41.72, 89.43, 310.35°)
OKLaboklab(52.34% 0.1004 -0.1949)
OKLCHoklch(52.34% 0.219 297.3)
XYZxyz(21.9351, 12.3205, 64.1603)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3CD5 #95D53C
analogous
#3C48D5 #7C3CD5 #C83CD5
triadic
#7C3CD5 #D57C3C #3CD57C
tetradic
#7C3CD5 #D53C48 #95D53C #3CD5C8
square
#7C3CD5 #D53C48 #95D53C #3CD5C8
split-complementary
#7C3CD5 #D5C83C #48D53C
monochromatic
#431B7C #5F26AE #7C3CD5 #9E6EE0 #C0A1EB

Accessibility & contrast

On white

6.06
#7C3CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7C3CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3CD5
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3CD5#FFFFFF#000000##FFFFFF
##7C3CD51.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D9
Deuteranopia (green-blind)
#0061D2
Tritanopia (blue-blind)
#656385
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7c3cd5;
/* rgb */ color: rgb(124, 60, 213);
/* oklch */ color: oklch(52.3% 0.219 297.3);
Tailwind
colors: {
  custom: {
    50: '#a977e3',
    500: '#7c3cd5',
    950: '#000000',
  },
}
SCSS
$custom: #7c3cd5;
$custom-light: #a977e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3cd5",
  "rgb": {
    "r": 124,
    "g": 60,
    "b": 213
  },
  "hsl": {
    "h": 265.098,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52343,
    "c": 0.21923,
    "h": 297.3
  },
  "luminance": 0.12321
}

Semantic roles & 50–950 ramp

primary
#7C3CD5
secondary
#BCD796
accent
#E840A2
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7C3CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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