#7C3FB2#7C3FB2

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

Color values

HEX#7C3FB2
RGBrgb(124, 63, 178)
HSLhsl(272, 48%, 47%)
HSVhsv(272, 65%, 70%)
CMYKcmyk(30.3%, 64.6%, 0%, 30.2%)
CIE-LABlab(39.67, 47.82, -51.08)
CIE-LCHlch(39.67, 69.97, 313.11°)
OKLaboklab(50.07% 0.1023 -0.1447)
OKLCHoklch(50.07% 0.177 305.2)
XYZxyz(18.1238, 11.0546, 43.2898)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3FB2 #75B23F
analogous
#423FB2 #7C3FB2 #B23FAF
triadic
#7C3FB2 #B27C3F #3FB27C
tetradic
#7C3FB2 #B2423F #75B23F #3FAFB2
square
#7C3FB2 #B2423F #75B23F #3FAFB2
split-complementary
#7C3FB2 #AFB23F #3FB242
monochromatic
#3D1F58 #5D2F85 #7C3FB2 #9A66C9 #B893D9

Accessibility & contrast

On white

6.54
#7C3FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7C3FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3FB2
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3FB2#FFFFFF#000000##FFFFFF
##7C3FB21.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#215EAF
Tritanopia (blue-blind)
#725773
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c3fb2;
/* rgb */ color: rgb(124, 63, 178);
/* oklch */ color: oklch(50.1% 0.177 305.2);
Tailwind
colors: {
  custom: {
    50: '#a678ca',
    500: '#7c3fb2',
    950: '#000000',
  },
}
SCSS
$custom: #7c3fb2;
$custom-light: #a678ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3fb2",
  "rgb": {
    "r": 124,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 271.826,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5007,
    "c": 0.1772,
    "h": 305.2
  },
  "luminance": 0.11054
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C3FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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