#7B3ABB#7B3ABB

#7B3ABB is a mid, vivid violet. Relative luminance 0.108; OKLCH L 50.0% C 0.193 H 303.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7B3ABB
RGBrgb(123, 58, 187)
HSLhsl(270, 53%, 48%)
HSVhsv(270, 69%, 73%)
CMYKcmyk(34.2%, 69%, 0%, 26.7%)
CIE-LABlab(39.28, 52.25, -57.01)
CIE-LCHlch(39.28, 77.33, 312.50°)
OKLaboklab(49.96% 0.1055 -0.1622)
OKLCHoklch(49.96% 0.193 303)
XYZxyz(18.6490, 10.8249, 48.1110)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3ABB #7ABB3A
analogous
#3B3ABB #7B3ABB #BB3ABA
triadic
#7B3ABB #BB7B3A #3ABB7B
tetradic
#7B3ABB #BB3B3A #7ABB3A #3ABABB
square
#7B3ABB #BB3B3A #7ABB3A #3ABABB
split-complementary
#7B3ABB #BABB3A #3ABB3B
monochromatic
#3E1D5E #5C2C8C #7B3ABB #9A63CF #B892DD

Accessibility & contrast

On white

6.64
#7B3ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7B3ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3ABB
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3ABB#FFFFFF#000000##FFFFFF
##7B3ABB1.006.643.176.64
#FFFFFF6.641.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#6E5876
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7b3abb;
/* rgb */ color: rgb(123, 58, 187);
/* oklch */ color: oklch(50.0% 0.193 303.0);
Tailwind
colors: {
  custom: {
    50: '#a675d0',
    500: '#7b3abb',
    950: '#000000',
  },
}
SCSS
$custom: #7b3abb;
$custom-light: #a675d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3abb",
  "rgb": {
    "r": 123,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 270.233,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49964,
    "c": 0.19347,
    "h": 303
  },
  "luminance": 0.10825
}

Semantic roles & 50–950 ramp

primary
#7B3ABB
secondary
#A8C888
accent
#DC4C93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7B3ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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