#7B3EBA#7B3EBA

#7B3EBA is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.4% C 0.187 H 302.8°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7B3EBA
RGBrgb(123, 62, 186)
HSLhsl(270, 50%, 49%)
HSVhsv(270, 67%, 73%)
CMYKcmyk(33.9%, 66.7%, 0%, 27.1%)
CIE-LABlab(39.92, 50.05, -55.40)
CIE-LCHlch(39.92, 74.66, 312.10°)
OKLaboklab(50.4% 0.1013 -0.1574)
OKLCHoklch(50.4% 0.187 302.8)
XYZxyz(18.7519, 11.2014, 47.6190)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3EBA #7DBA3E
analogous
#3E3FBA #7B3EBA #B93EBA
triadic
#7B3EBA #BA7B3E #3EBA7B
tetradic
#7B3EBA #BA3E3F #7DBA3E #3EBAB9
square
#7B3EBA #BA3E3F #7DBA3E #3EBAB9
split-complementary
#7B3EBA #BAB93E #3FBA3E
monochromatic
#3E1F5E #5D2F8C #7B3EBA #9A68CD #B996DC

Accessibility & contrast

On white

6.48
#7B3EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B3EBA
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3EBA#FFFFFF#000000##FFFFFF
##7B3EBA1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#085EB7
Tritanopia (blue-blind)
#6E5A77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7b3eba;
/* rgb */ color: rgb(123, 62, 186);
/* oklch */ color: oklch(50.4% 0.187 302.8);
Tailwind
colors: {
  custom: {
    50: '#a677cf',
    500: '#7b3eba',
    950: '#000000',
  },
}
SCSS
$custom: #7b3eba;
$custom-light: #a677cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3eba",
  "rgb": {
    "r": 123,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 269.516,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50395,
    "c": 0.18723,
    "h": 302.8
  },
  "luminance": 0.11201
}

Semantic roles & 50–950 ramp

primary
#7B3EBA
secondary
#AAC88C
accent
#DA4E95
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7B3EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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