#7C3FBA#7C3FBA

#7C3FBA is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.6% C 0.186 H 303.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7C3FBA
RGBrgb(124, 63, 186)
HSLhsl(270, 49%, 49%)
HSVhsv(270, 66%, 73%)
CMYKcmyk(33.3%, 66.1%, 0%, 27.1%)
CIE-LABlab(40.22, 49.76, -54.90)
CIE-LCHlch(40.22, 74.10, 312.19°)
OKLaboklab(50.64% 0.1016 -0.1559)
OKLCHoklch(50.64% 0.186 303.1)
XYZxyz(18.9506, 11.3853, 47.6441)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3FBA #7DBA3F
analogous
#3F40BA #7C3FBA #BA3FBA
triadic
#7C3FBA #BA7C3F #3FBA7C
tetradic
#7C3FBA #BA3F40 #7DBA3F #3FBABA
square
#7C3FBA #BA3F40 #7DBA3F #3FBABA
split-complementary
#7C3FBA #BABA3F #40BA3F
monochromatic
#3F205F #5E308C #7C3FBA #9B6ACC #B997DC

Accessibility & contrast

On white

6.41
#7C3FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C3FBA
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3FBA#FFFFFF#000000##FFFFFF
##7C3FBA1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0F5EB7
Tritanopia (blue-blind)
#705A77
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7c3fba;
/* rgb */ color: rgb(124, 63, 186);
/* oklch */ color: oklch(50.6% 0.186 303.1);
Tailwind
colors: {
  custom: {
    50: '#a678cf',
    500: '#7c3fba',
    950: '#000000',
  },
}
SCSS
$custom: #7c3fba;
$custom-light: #a678cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3fba",
  "rgb": {
    "r": 124,
    "g": 63,
    "b": 186
  },
  "hsl": {
    "h": 269.756,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5064,
    "c": 0.1861,
    "h": 303.1
  },
  "luminance": 0.11385
}

Semantic roles & 50–950 ramp

primary
#7C3FBA
secondary
#ABC88D
accent
#D94F94
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7C3FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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