#7C3FB3#7C3FB3

#7C3FB3 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.1% C 0.178 H 305.0°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7C3FB3
RGBrgb(124, 63, 179)
HSLhsl(272, 48%, 47%)
HSVhsv(272, 65%, 70%)
CMYKcmyk(30.7%, 64.8%, 0%, 29.8%)
CIE-LABlab(39.74, 48.06, -51.56)
CIE-LCHlch(39.74, 70.49, 312.99°)
OKLaboklab(50.14% 0.1022 -0.1461)
OKLCHoklch(50.14% 0.178 305)
XYZxyz(18.2246, 11.0949, 43.8205)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3FB3 #76B33F
analogous
#423FB3 #7C3FB3 #B33FB0
triadic
#7C3FB3 #B37C3F #3FB37C
tetradic
#7C3FB3 #B3423F #76B33F #3FB0B3
square
#7C3FB3 #B3423F #76B33F #3FB0B3
split-complementary
#7C3FB3 #B0B33F #3FB342
monochromatic
#3D1F58 #5D2F86 #7C3FB3 #9A66C9 #B893D9

Accessibility & contrast

On white

6.52
#7C3FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7C3FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3FB3
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3FB3#FFFFFF#000000##FFFFFF
##7C3FB31.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#1F5EB0
Tritanopia (blue-blind)
#725873
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7c3fb3;
/* rgb */ color: rgb(124, 63, 179);
/* oklch */ color: oklch(50.1% 0.178 305.0);
Tailwind
colors: {
  custom: {
    50: '#a678ca',
    500: '#7c3fb3',
    950: '#000000',
  },
}
SCSS
$custom: #7c3fb3;
$custom-light: #a678ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3fb3",
  "rgb": {
    "r": 124,
    "g": 63,
    "b": 179
  },
  "hsl": {
    "h": 271.552,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5014,
    "c": 0.1783,
    "h": 305
  },
  "luminance": 0.11095
}

Semantic roles & 50–950 ramp

primary
#7C3FB3
secondary
#A5C489
accent
#D85090
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7C3FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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