#7B3EBB#7B3EBB

#7B3EBB is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.5% C 0.188 H 302.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#7B3EBB
RGBrgb(123, 62, 187)
HSLhsl(269, 50%, 49%)
HSVhsv(269, 67%, 73%)
CMYKcmyk(34.2%, 66.8%, 0%, 26.7%)
CIE-LABlab(39.99, 50.30, -55.87)
CIE-LCHlch(39.99, 75.18, 311.99°)
OKLaboklab(50.47% 0.1012 -0.1588)
OKLCHoklch(50.47% 0.188 302.5)
XYZxyz(18.8585, 11.2440, 48.1809)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3EBB #7EBB3E
analogous
#3E40BB #7B3EBB #BA3EBB
triadic
#7B3EBB #BB7B3E #3EBB7B
tetradic
#7B3EBB #BB3E40 #7EBB3E #3EBBBA
square
#7B3EBB #BB3E40 #7EBB3E #3EBBBA
split-complementary
#7B3EBB #BBBA3E #40BB3E
monochromatic
#3F205F #5D2F8D #7B3EBB #9A69CD #B997DC

Accessibility & contrast

On white

6.46
#7B3EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7B3EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3EBB
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3EBB#FFFFFF#000000##FFFFFF
##7B3EBB1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#035EB8
Tritanopia (blue-blind)
#6E5A77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7b3ebb;
/* rgb */ color: rgb(123, 62, 187);
/* oklch */ color: oklch(50.5% 0.188 302.5);
Tailwind
colors: {
  custom: {
    50: '#a677d0',
    500: '#7b3ebb',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ebb;
$custom-light: #a677d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ebb",
  "rgb": {
    "r": 123,
    "g": 62,
    "b": 187
  },
  "hsl": {
    "h": 269.28,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50468,
    "c": 0.18834,
    "h": 302.5
  },
  "luminance": 0.11244
}

Semantic roles & 50–950 ramp

primary
#7B3EBB
secondary
#ABC88D
accent
#DA4E96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7B3EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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