#7C39B5#7C39B5

#7C39B5 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.5% C 0.189 H 305.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#7C39B5
RGBrgb(124, 57, 181)
HSLhsl(272, 52%, 47%)
HSVhsv(272, 69%, 71%)
CMYKcmyk(31.5%, 68.5%, 0%, 29%)
CIE-LABlab(38.81, 51.49, -54.25)
CIE-LCHlch(38.81, 74.79, 313.51°)
OKLaboklab(49.52% 0.1088 -0.154)
OKLCHoklch(49.52% 0.189 305.2)
XYZxyz(18.1139, 10.5477, 44.7887)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C39B5 #72B539
analogous
#3E39B5 #7C39B5 #B539B0
triadic
#7C39B5 #B57C39 #39B57C
tetradic
#7C39B5 #B53E39 #72B539 #39B0B5
square
#7C39B5 #B53E39 #72B539 #39B0B5
split-complementary
#7C39B5 #B0B539 #39B53E
monochromatic
#3C1C58 #5C2A86 #7C39B5 #9A5FCD #B78DDB

Accessibility & contrast

On white

6.75
#7C39B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7C39B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C39B5
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C39B5#FFFFFF#000000##FFFFFF
##7C39B51.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#0D5CB2
Tritanopia (blue-blind)
#725572
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7c39b5;
/* rgb */ color: rgb(124, 57, 181);
/* oklch */ color: oklch(49.5% 0.189 305.2);
Tailwind
colors: {
  custom: {
    50: '#a674cc',
    500: '#7c39b5',
    950: '#000000',
  },
}
SCSS
$custom: #7c39b5;
$custom-light: #a674cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c39b5",
  "rgb": {
    "r": 124,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 272.419,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49515,
    "c": 0.18852,
    "h": 305.2
  },
  "luminance": 0.10548
}

Semantic roles & 50–950 ramp

primary
#7C39B5
secondary
#A2C684
accent
#DC4C8E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7C39B5

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

Preview Lab → · Contrast checker → · Palette generator →

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