#7B3EBE#7B3EBE

#7B3EBE is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.7% C 0.192 H 301.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7B3EBE
RGBrgb(123, 62, 190)
HSLhsl(269, 51%, 49%)
HSVhsv(269, 67%, 75%)
CMYKcmyk(35.3%, 67.4%, 0%, 25.5%)
CIE-LABlab(40.20, 51.04, -57.29)
CIE-LCHlch(40.20, 76.72, 311.70°)
OKLaboklab(50.69% 0.1008 -0.163)
OKLCHoklch(50.69% 0.192 301.7)
XYZxyz(19.1831, 11.3738, 49.8900)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3EBE #81BE3E
analogous
#3E41BE #7B3EBE #BB3EBE
triadic
#7B3EBE #BE7B3E #3EBE7B
tetradic
#7B3EBE #BE3E41 #81BE3E #3EBEBB
square
#7B3EBE #BE3E41 #81BE3E #3EBEBB
split-complementary
#7B3EBE #BEBB3E #41BE3E
monochromatic
#3F2062 #5D2F90 #7B3EBE #9A6BCF #BA99DE

Accessibility & contrast

On white

6.41
#7B3EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7B3EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3EBE
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3EBE#FFFFFF#000000##FFFFFF
##7B3EBE1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#6D5B79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b3ebe;
/* rgb */ color: rgb(123, 62, 190);
/* oklch */ color: oklch(50.7% 0.192 301.7);
Tailwind
colors: {
  custom: {
    50: '#a677d2',
    500: '#7b3ebe',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ebe;
$custom-light: #a677d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ebe",
  "rgb": {
    "r": 123,
    "g": 62,
    "b": 190
  },
  "hsl": {
    "h": 268.594,
    "s": 50.794,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5069,
    "c": 0.19165,
    "h": 301.7
  },
  "luminance": 0.11374
}

Semantic roles & 50–950 ramp

primary
#7B3EBE
secondary
#ADC98E
accent
#DA4E97
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B3EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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