#7B3EB5#7B3EB5

#7B3EB5 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.0% C 0.182 H 304.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7B3EB5
RGBrgb(123, 62, 181)
HSLhsl(271, 49%, 48%)
HSVhsv(271, 66%, 71%)
CMYKcmyk(32%, 65.7%, 0%, 29%)
CIE-LABlab(39.57, 48.83, -53.02)
CIE-LCHlch(39.57, 72.08, 312.64°)
OKLaboklab(50.03% 0.1018 -0.1505)
OKLCHoklch(50.03% 0.182 304.1)
XYZxyz(18.2296, 10.9925, 44.8685)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3EB5 #78B53E
analogous
#3F3EB5 #7B3EB5 #B53EB4
triadic
#7B3EB5 #B57B3E #3EB57B
tetradic
#7B3EB5 #B53F3E #78B53E #3EB4B5
square
#7B3EB5 #B53F3E #78B53E #3EB4B5
split-complementary
#7B3EB5 #B4B53E #3EB53F
monochromatic
#3D1F5A #5C2E87 #7B3EB5 #9966CA #B893DA

Accessibility & contrast

On white

6.57
#7B3EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7B3EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3EB5
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3EB5#FFFFFF#000000##FFFFFF
##7B3EB51.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#185DB2
Tritanopia (blue-blind)
#705874
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7b3eb5;
/* rgb */ color: rgb(123, 62, 181);
/* oklch */ color: oklch(50.0% 0.182 304.1);
Tailwind
colors: {
  custom: {
    50: '#a577cc',
    500: '#7b3eb5',
    950: '#000000',
  },
}
SCSS
$custom: #7b3eb5;
$custom-light: #a577cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3eb5",
  "rgb": {
    "r": 123,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 270.756,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50032,
    "c": 0.18167,
    "h": 304.1
  },
  "luminance": 0.10992
}

Semantic roles & 50–950 ramp

primary
#7B3EB5
secondary
#A7C589
accent
#D94F92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7B3EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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