#7B3AC3#7B3AC3

#7B3AC3 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.6% C 0.202 H 301.1°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7B3AC3
RGBrgb(123, 58, 195)
HSLhsl(268, 54%, 50%)
HSVhsv(268, 70%, 76%)
CMYKcmyk(36.9%, 70.3%, 0%, 23.5%)
CIE-LABlab(39.88, 54.19, -60.74)
CIE-LCHlch(39.88, 81.40, 311.74°)
OKLaboklab(50.57% 0.1043 -0.1731)
OKLCHoklch(50.57% 0.202 301.1)
XYZxyz(19.5294, 11.1771, 52.7477)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3AC3 #82C33A
analogous
#3A3EC3 #7B3AC3 #C03AC3
triadic
#7B3AC3 #C37B3A #3AC37B
tetradic
#7B3AC3 #C33A3E #82C33A #3AC3C0
square
#7B3AC3 #C33A3E #82C33A #3AC3C0
split-complementary
#7B3AC3 #C3C03A #3EC33A
monochromatic
#3F1E65 #5D2C94 #7B3AC3 #9A68D2 #BA97E0

Accessibility & contrast

On white

6.49
#7B3AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7B3AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3AC3
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3AC3#FFFFFF#000000##FFFFFF
##7B3AC31.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#6B5B7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7b3ac3;
/* rgb */ color: rgb(123, 58, 195);
/* oklch */ color: oklch(50.6% 0.202 301.1);
Tailwind
colors: {
  custom: {
    50: '#a775d6',
    500: '#7b3ac3',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ac3;
$custom-light: #a775d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ac3",
  "rgb": {
    "r": 123,
    "g": 58,
    "b": 195
  },
  "hsl": {
    "h": 268.467,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50573,
    "c": 0.20209,
    "h": 301.1
  },
  "luminance": 0.11177
}

Semantic roles & 50–950 ramp

primary
#7B3AC3
secondary
#AECC8D
accent
#DE4A98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B3AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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