#7C3EBD#7C3EBD

#7C3EBD is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.7% C 0.191 H 302.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7C3EBD
RGBrgb(124, 62, 189)
HSLhsl(269, 51%, 49%)
HSVhsv(269, 67%, 74%)
CMYKcmyk(34.4%, 67.2%, 0%, 25.9%)
CIE-LABlab(40.25, 51.00, -56.61)
CIE-LCHlch(40.25, 76.19, 312.01°)
OKLaboklab(50.73% 0.1023 -0.161)
OKLCHoklch(50.73% 0.191 302.4)
XYZxyz(19.2180, 11.4044, 49.3231)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3EBD #7FBD3E
analogous
#3E40BD #7C3EBD #BC3EBD
triadic
#7C3EBD #BD7C3E #3EBD7C
tetradic
#7C3EBD #BD3E40 #7FBD3E #3EBDBC
square
#7C3EBD #BD3E40 #7FBD3E #3EBDBC
split-complementary
#7C3EBD #BDBC3E #40BD3E
monochromatic
#402061 #5E2F8F #7C3EBD #9B6ACE #BA98DD

Accessibility & contrast

On white

6.40
#7C3EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7C3EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3EBD
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3EBD#FFFFFF#000000##FFFFFF
##7C3EBD1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#6F5B78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7c3ebd;
/* rgb */ color: rgb(124, 62, 189);
/* oklch */ color: oklch(50.7% 0.191 302.4);
Tailwind
colors: {
  custom: {
    50: '#a778d2',
    500: '#7c3ebd',
    950: '#000000',
  },
}
SCSS
$custom: #7c3ebd;
$custom-light: #a778d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3ebd",
  "rgb": {
    "r": 124,
    "g": 62,
    "b": 189
  },
  "hsl": {
    "h": 269.291,
    "s": 50.598,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5073,
    "c": 0.19074,
    "h": 302.4
  },
  "luminance": 0.11404
}

Semantic roles & 50–950 ramp

primary
#7C3EBD
secondary
#ACC98E
accent
#DA4E96
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C3EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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