#7B3EB3#7B3EB3

#7B3EB3 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.9% C 0.179 H 304.6°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7B3EB3
RGBrgb(123, 62, 179)
HSLhsl(271, 49%, 47%)
HSVhsv(271, 65%, 70%)
CMYKcmyk(31.3%, 65.4%, 0%, 29.8%)
CIE-LABlab(39.43, 48.35, -52.06)
CIE-LCHlch(39.43, 71.05, 312.88°)
OKLaboklab(49.89% 0.102 -0.1476)
OKLCHoklch(49.89% 0.179 304.6)
XYZxyz(18.0259, 10.9110, 43.7955)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3EB3 #76B33E
analogous
#403EB3 #7B3EB3 #B33EB1
triadic
#7B3EB3 #B37B3E #3EB37B
tetradic
#7B3EB3 #B3403E #76B33E #3EB1B3
square
#7B3EB3 #B3403E #76B33E #3EB1B3
split-complementary
#7B3EB3 #B1B33E #3EB340
monochromatic
#3D1F58 #5C2E86 #7B3EB3 #9965CA #B792D9

Accessibility & contrast

On white

6.60
#7B3EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7B3EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3EB3
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3EB3#FFFFFF#000000##FFFFFF
##7B3EB31.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#1C5DB0
Tritanopia (blue-blind)
#715773
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7b3eb3;
/* rgb */ color: rgb(123, 62, 179);
/* oklch */ color: oklch(49.9% 0.179 304.6);
Tailwind
colors: {
  custom: {
    50: '#a577ca',
    500: '#7b3eb3',
    950: '#000000',
  },
}
SCSS
$custom: #7b3eb3;
$custom-light: #a577ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3eb3",
  "rgb": {
    "r": 123,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 271.282,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49889,
    "c": 0.17944,
    "h": 304.6
  },
  "luminance": 0.10911
}

Semantic roles & 50–950 ramp

primary
#7B3EB3
secondary
#A5C588
accent
#D85091
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7B3EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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