#7B3EC3#7B3EC3

#7B3EC3 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.1% C 0.197 H 300.5°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7B3EC3
RGBrgb(123, 62, 195)
HSLhsl(268, 53%, 50%)
HSVhsv(268, 68%, 76%)
CMYKcmyk(36.9%, 68.2%, 0%, 23.5%)
CIE-LABlab(40.57, 52.27, -59.62)
CIE-LCHlch(40.57, 79.29, 311.24°)
OKLaboklab(51.07% 0.1002 -0.1698)
OKLCHoklch(51.07% 0.197 300.5)
XYZxyz(19.7389, 11.5962, 52.8175)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3EC3 #86C33E
analogous
#3E43C3 #7B3EC3 #BE3EC3
triadic
#7B3EC3 #C37B3E #3EC37B
tetradic
#7B3EC3 #C33E43 #86C33E #3EC3BE
square
#7B3EC3 #C33E43 #86C33E #3EC3BE
split-complementary
#7B3EC3 #C3BE3E #43C33E
monochromatic
#402067 #5E2E95 #7B3EC3 #9B6DD2 #BB9BE0

Accessibility & contrast

On white

6.33
#7B3EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7B3EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3EC3
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3EC3#FFFFFF#000000##FFFFFF
##7B3EC31.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#6B5D7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7b3ec3;
/* rgb */ color: rgb(123, 62, 195);
/* oklch */ color: oklch(51.1% 0.197 300.5);
Tailwind
colors: {
  custom: {
    50: '#a778d6',
    500: '#7b3ec3',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ec3;
$custom-light: #a778d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ec3",
  "rgb": {
    "r": 123,
    "g": 62,
    "b": 195
  },
  "hsl": {
    "h": 267.519,
    "s": 52.569,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51065,
    "c": 0.19718,
    "h": 300.5
  },
  "luminance": 0.11596
}

Semantic roles & 50–950 ramp

primary
#7B3EC3
secondary
#B1CC91
accent
#DC4C9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B3EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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