#7B3EBC#7B3EBC

#7B3EBC is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.5% C 0.189 H 302.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7B3EBC
RGBrgb(123, 62, 188)
HSLhsl(269, 50%, 49%)
HSVhsv(269, 67%, 74%)
CMYKcmyk(34.6%, 67%, 0%, 26.3%)
CIE-LABlab(40.06, 50.54, -56.35)
CIE-LCHlch(40.06, 75.69, 311.89°)
OKLaboklab(50.54% 0.1011 -0.1602)
OKLCHoklch(50.54% 0.189 302.2)
XYZxyz(18.9660, 11.2870, 48.7466)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3EBC #7FBC3E
analogous
#3E40BC #7B3EBC #BA3EBC
triadic
#7B3EBC #BC7B3E #3EBC7B
tetradic
#7B3EBC #BC3E40 #7FBC3E #3EBCBA
square
#7B3EBC #BC3E40 #7FBC3E #3EBCBA
split-complementary
#7B3EBC #BCBA3E #40BC3E
monochromatic
#3F2060 #5D2F8E #7B3EBC #9A6ACE #B998DD

Accessibility & contrast

On white

6.45
#7B3EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7B3EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3EBC
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3EBC#FFFFFF#000000##FFFFFF
##7B3EBC1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#005EB9
Tritanopia (blue-blind)
#6E5B78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7b3ebc;
/* rgb */ color: rgb(123, 62, 188);
/* oklch */ color: oklch(50.5% 0.189 302.2);
Tailwind
colors: {
  custom: {
    50: '#a677d1',
    500: '#7b3ebc',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ebc;
$custom-light: #a677d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ebc",
  "rgb": {
    "r": 123,
    "g": 62,
    "b": 188
  },
  "hsl": {
    "h": 269.048,
    "s": 50.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50542,
    "c": 0.18944,
    "h": 302.2
  },
  "luminance": 0.11287
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B3EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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