#7B3FBA#7B3FBA

#7B3FBA is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.5% C 0.186 H 302.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7B3FBA
RGBrgb(123, 63, 186)
HSLhsl(269, 49%, 49%)
HSVhsv(269, 66%, 73%)
CMYKcmyk(33.9%, 66.1%, 0%, 27.1%)
CIE-LABlab(40.10, 49.55, -55.11)
CIE-LCHlch(40.10, 74.11, 311.96°)
OKLaboklab(50.53% 0.1002 -0.1566)
OKLCHoklch(50.53% 0.186 302.6)
XYZxyz(18.8067, 11.3111, 47.6373)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3FBA #7EBA3F
analogous
#3F41BA #7B3FBA #B93FBA
triadic
#7B3FBA #BA7B3F #3FBA7B
tetradic
#7B3FBA #BA3F41 #7EBA3F #3FBAB9
square
#7B3FBA #BA3F41 #7EBA3F #3FBAB9
split-complementary
#7B3FBA #BAB93F #41BA3F
monochromatic
#3F205F #5D308C #7B3FBA #9A6ACC #B997DC

Accessibility & contrast

On white

6.44
#7B3FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7B3FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3FBA
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3FBA#FFFFFF#000000##FFFFFF
##7B3FBA1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#0C5EB7
Tritanopia (blue-blind)
#6E5A77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7b3fba;
/* rgb */ color: rgb(123, 63, 186);
/* oklch */ color: oklch(50.5% 0.186 302.6);
Tailwind
colors: {
  custom: {
    50: '#a678cf',
    500: '#7b3fba',
    950: '#000000',
  },
}
SCSS
$custom: #7b3fba;
$custom-light: #a678cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3fba",
  "rgb": {
    "r": 123,
    "g": 63,
    "b": 186
  },
  "hsl": {
    "h": 269.268,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50526,
    "c": 0.1859,
    "h": 302.6
  },
  "luminance": 0.11311
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B3FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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