#7C3FBF#7C3FBF

#7C3FBF is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.0% C 0.192 H 301.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7C3FBF
RGBrgb(124, 63, 191)
HSLhsl(269, 50%, 50%)
HSVhsv(269, 67%, 75%)
CMYKcmyk(35.1%, 67%, 0%, 25.1%)
CIE-LABlab(40.58, 50.99, -57.26)
CIE-LCHlch(40.58, 76.67, 311.69°)
OKLaboklab(51.01% 0.101 -0.1629)
OKLCHoklch(51.01% 0.192 301.8)
XYZxyz(19.4914, 11.6016, 50.4926)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3FBF #82BF3F
analogous
#3F42BF #7C3FBF #BC3FBF
triadic
#7C3FBF #BF7C3F #3FBF7C
tetradic
#7C3FBF #BF3F42 #82BF3F #3FBFBC
square
#7C3FBF #BF3F42 #82BF3F #3FBFBC
split-complementary
#7C3FBF #BFBC3F #42BF3F
monochromatic
#402163 #5E3091 #7C3FBF #9B6DCF #BB9BDE

Accessibility & contrast

On white

6.32
#7C3FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7C3FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3FBF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3FBF#FFFFFF#000000##FFFFFF
##7C3FBF1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#6E5C7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7c3fbf;
/* rgb */ color: rgb(124, 63, 191);
/* oklch */ color: oklch(51.0% 0.192 301.8);
Tailwind
colors: {
  custom: {
    50: '#a778d3',
    500: '#7c3fbf',
    950: '#000000',
  },
}
SCSS
$custom: #7c3fbf;
$custom-light: #a778d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3fbf",
  "rgb": {
    "r": 124,
    "g": 63,
    "b": 191
  },
  "hsl": {
    "h": 268.594,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51007,
    "c": 0.19165,
    "h": 301.8
  },
  "luminance": 0.11602
}

Semantic roles & 50–950 ramp

primary
#7C3FBF
secondary
#AECA90
accent
#DA4E97
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C3FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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