#7B3ABC#7B3ABC

#7B3ABC is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.0% C 0.195 H 302.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7B3ABC
RGBrgb(123, 58, 188)
HSLhsl(270, 53%, 48%)
HSVhsv(270, 69%, 74%)
CMYKcmyk(34.6%, 69.1%, 0%, 26.3%)
CIE-LABlab(39.36, 52.49, -57.48)
CIE-LCHlch(39.36, 77.84, 312.40°)
OKLaboklab(50.04% 0.1054 -0.1635)
OKLCHoklch(50.04% 0.195 302.8)
XYZxyz(18.7564, 10.8679, 48.6768)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3ABC #7BBC3A
analogous
#3A3ABC #7B3ABC #BC3ABC
triadic
#7B3ABC #BC7B3A #3ABC7B
tetradic
#7B3ABC #BC3A3A #7BBC3A #3ABCBC
square
#7B3ABC #BC3A3A #7BBC3A #3ABCBC
split-complementary
#7B3ABC #BCBC3A #3ABC3A
monochromatic
#3E1D5E #5C2C8D #7B3ABC #9A64CF #B893DE

Accessibility & contrast

On white

6.62
#7B3ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B3ABC
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3ABC#FFFFFF#000000##FFFFFF
##7B3ABC1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#6E5877
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7b3abc;
/* rgb */ color: rgb(123, 58, 188);
/* oklch */ color: oklch(50.0% 0.195 302.8);
Tailwind
colors: {
  custom: {
    50: '#a675d1',
    500: '#7b3abc',
    950: '#000000',
  },
}
SCSS
$custom: #7b3abc;
$custom-light: #a675d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3abc",
  "rgb": {
    "r": 123,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 270,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50039,
    "c": 0.19455,
    "h": 302.8
  },
  "luminance": 0.10868
}

Semantic roles & 50–950 ramp

primary
#7B3ABC
secondary
#A9C989
accent
#DC4C94
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7B3ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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