#7C39B8#7C39B8

#7C39B8 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.7% C 0.192 H 304.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7C39B8
RGBrgb(124, 57, 184)
HSLhsl(272, 53%, 47%)
HSVhsv(272, 69%, 72%)
CMYKcmyk(32.6%, 69%, 0%, 27.8%)
CIE-LABlab(39.02, 52.21, -55.67)
CIE-LCHlch(39.02, 76.32, 313.16°)
OKLaboklab(49.74% 0.1084 -0.1582)
OKLCHoklch(49.74% 0.192 304.4)
XYZxyz(18.4251, 10.6721, 46.4274)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C39B8 #75B839
analogous
#3D39B8 #7C39B8 #B839B4
triadic
#7C39B8 #B87C39 #39B87C
tetradic
#7C39B8 #B83D39 #75B839 #39B4B8
square
#7C39B8 #B83D39 #75B839 #39B4B8
split-complementary
#7C39B8 #B4B839 #39B83D
monochromatic
#3D1C5B #5D2B89 #7C39B8 #9A60CE #B88FDC

Accessibility & contrast

On white

6.70
#7C39B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7C39B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C39B8
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C39B8#FFFFFF#000000##FFFFFF
##7C39B81.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#005CB5
Tritanopia (blue-blind)
#715674
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7c39b8;
/* rgb */ color: rgb(124, 57, 184);
/* oklch */ color: oklch(49.7% 0.192 304.4);
Tailwind
colors: {
  custom: {
    50: '#a774ce',
    500: '#7c39b8',
    950: '#000000',
  },
}
SCSS
$custom: #7c39b8;
$custom-light: #a774ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7c39b8",
  "rgb": {
    "r": 124,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 271.654,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49736,
    "c": 0.19173,
    "h": 304.4
  },
  "luminance": 0.10672
}

Semantic roles & 50–950 ramp

primary
#7C39B8
secondary
#A5C786
accent
#DC4C90
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7C39B8

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

Preview Lab → · Contrast checker → · Palette generator →

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