#7B3FB3#7B3FB3

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

Color values

HEX#7B3FB3
RGBrgb(123, 63, 179)
HSLhsl(271, 48%, 47%)
HSVhsv(271, 65%, 70%)
CMYKcmyk(31.3%, 64.8%, 0%, 29.8%)
CIE-LABlab(39.62, 47.84, -51.77)
CIE-LCHlch(39.62, 70.49, 312.74°)
OKLaboklab(50.02% 0.1008 -0.1468)
OKLCHoklch(50.02% 0.178 304.5)
XYZxyz(18.0807, 11.0207, 43.8138)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3FB3 #77B33F
analogous
#413FB3 #7B3FB3 #B33FB1
triadic
#7B3FB3 #B37B3F #3FB37B
tetradic
#7B3FB3 #B3413F #77B33F #3FB1B3
square
#7B3FB3 #B3413F #77B33F #3FB1B3
split-complementary
#7B3FB3 #B1B33F #3FB341
monochromatic
#3D1F58 #5C2F86 #7B3FB3 #9966C9 #B793D9

Accessibility & contrast

On white

6.55
#7B3FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B3FB3
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3FB3#FFFFFF#000000##FFFFFF
##7B3FB31.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b3fb3;
/* rgb */ color: rgb(123, 63, 179);
/* oklch */ color: oklch(50.0% 0.178 304.5);
Tailwind
colors: {
  custom: {
    50: '#a578ca',
    500: '#7b3fb3',
    950: '#000000',
  },
}
SCSS
$custom: #7b3fb3;
$custom-light: #a578ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3fb3",
  "rgb": {
    "r": 123,
    "g": 63,
    "b": 179
  },
  "hsl": {
    "h": 271.034,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50023,
    "c": 0.17807,
    "h": 304.5
  },
  "luminance": 0.11021
}

Semantic roles & 50–950 ramp

primary
#7B3FB3
secondary
#A6C489
accent
#D85092
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7B3FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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