#7C3FBB#7C3FBB

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

Color values

HEX#7C3FBB
RGBrgb(124, 63, 187)
HSLhsl(270, 50%, 49%)
HSVhsv(270, 66%, 73%)
CMYKcmyk(33.7%, 66.3%, 0%, 26.7%)
CIE-LABlab(40.29, 50.01, -55.38)
CIE-LCHlch(40.29, 74.62, 312.08°)
OKLaboklab(50.71% 0.1015 -0.1573)
OKLCHoklch(50.71% 0.187 302.8)
XYZxyz(19.0572, 11.4279, 48.2059)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3FBB #7EBB3F
analogous
#3F40BB #7C3FBB #BA3FBB
triadic
#7C3FBB #BB7C3F #3FBB7C
tetradic
#7C3FBB #BB3F40 #7EBB3F #3FBBBA
square
#7C3FBB #BB3F40 #7EBB3F #3FBBBA
split-complementary
#7C3FBB #BBBA3F #40BB3F
monochromatic
#3F205F #5E308D #7C3FBB #9B6ACD #BA98DC

Accessibility & contrast

On white

6.39
#7C3FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7C3FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3FBB
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3FBB#FFFFFF#000000##FFFFFF
##7C3FBB1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#0C5FB8
Tritanopia (blue-blind)
#6F5B78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7c3fbb;
/* rgb */ color: rgb(124, 63, 187);
/* oklch */ color: oklch(50.7% 0.187 302.8);
Tailwind
colors: {
  custom: {
    50: '#a778d0',
    500: '#7c3fbb',
    950: '#000000',
  },
}
SCSS
$custom: #7c3fbb;
$custom-light: #a778d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3fbb",
  "rgb": {
    "r": 124,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 269.516,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50713,
    "c": 0.18722,
    "h": 302.8
  },
  "luminance": 0.11428
}

Semantic roles & 50–950 ramp

primary
#7C3FBB
secondary
#ABC88E
accent
#D94F95
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7C3FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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