#7B3AC8#7B3AC8

#7B3AC8 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.0% C 0.207 H 299.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7B3AC8
RGBrgb(123, 58, 200)
HSLhsl(267, 56%, 51%)
HSVhsv(267, 71%, 78%)
CMYKcmyk(38.5%, 71%, 0%, 21.6%)
CIE-LABlab(40.26, 55.42, -63.03)
CIE-LCHlch(40.26, 83.93, 311.32°)
OKLaboklab(50.96% 0.1034 -0.1798)
OKLCHoklch(50.96% 0.207 299.9)
XYZxyz(20.1042, 11.4070, 55.7750)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3AC8 #87C83A
analogous
#3A40C8 #7B3AC8 #C23AC8
triadic
#7B3AC8 #C87B3A #3AC87B
tetradic
#7B3AC8 #C83A40 #87C83A #3AC8C2
square
#7B3AC8 #C83A40 #87C83A #3AC8C2
split-complementary
#7B3AC8 #C8C23A #40C83A
monochromatic
#411E6A #5E2B9A #7B3AC8 #9B6AD5 #BB9AE3

Accessibility & contrast

On white

6.40
#7B3AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7B3AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3AC8
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3AC8#FFFFFF#000000##FFFFFF
##7B3AC81.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#695D7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b3ac8;
/* rgb */ color: rgb(123, 58, 200);
/* oklch */ color: oklch(51.0% 0.207 299.9);
Tailwind
colors: {
  custom: {
    50: '#a776da',
    500: '#7b3ac8',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ac8;
$custom-light: #a776da;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ac8",
  "rgb": {
    "r": 123,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 267.465,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50963,
    "c": 0.20746,
    "h": 299.9
  },
  "luminance": 0.11407
}

Semantic roles & 50–950 ramp

primary
#7B3AC8
secondary
#B2CE8F
accent
#E0489A
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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