#7B3FB2#7B3FB2

#7B3FB2 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.0% C 0.177 H 304.8°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7B3FB2
RGBrgb(123, 63, 178)
HSLhsl(271, 48%, 47%)
HSVhsv(271, 65%, 70%)
CMYKcmyk(30.9%, 64.6%, 0%, 30.2%)
CIE-LABlab(39.55, 47.60, -51.28)
CIE-LCHlch(39.55, 69.97, 312.86°)
OKLaboklab(49.95% 0.1009 -0.1453)
OKLCHoklch(49.95% 0.177 304.8)
XYZxyz(17.9800, 10.9804, 43.2831)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3FB2 #76B23F
analogous
#413FB2 #7B3FB2 #B23FB0
triadic
#7B3FB2 #B27B3F #3FB27B
tetradic
#7B3FB2 #B2413F #76B23F #3FB0B2
square
#7B3FB2 #B2413F #76B23F #3FB0B2
split-complementary
#7B3FB2 #B0B23F #3FB241
monochromatic
#3D1F58 #5C2F85 #7B3FB2 #9966C9 #B793D9

Accessibility & contrast

On white

6.57
#7B3FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7B3FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3FB2
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3FB2#FFFFFF#000000##FFFFFF
##7B3FB21.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#1F5DAF
Tritanopia (blue-blind)
#715873
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7b3fb2;
/* rgb */ color: rgb(123, 63, 178);
/* oklch */ color: oklch(50.0% 0.177 304.8);
Tailwind
colors: {
  custom: {
    50: '#a578ca',
    500: '#7b3fb2',
    950: '#000000',
  },
}
SCSS
$custom: #7b3fb2;
$custom-light: #a578ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3fb2",
  "rgb": {
    "r": 123,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 271.304,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49952,
    "c": 0.17694,
    "h": 304.8
  },
  "luminance": 0.1098
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B3FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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