#7B3EC0#7B3EC0

#7B3EC0 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.8% C 0.194 H 301.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7B3EC0
RGBrgb(123, 62, 192)
HSLhsl(268, 51%, 50%)
HSVhsv(268, 68%, 75%)
CMYKcmyk(35.9%, 67.7%, 0%, 24.7%)
CIE-LABlab(40.35, 51.53, -58.22)
CIE-LCHlch(40.35, 77.75, 311.51°)
OKLaboklab(50.84% 0.1006 -0.1657)
OKLCHoklch(50.84% 0.194 301.3)
XYZxyz(19.4031, 11.4619, 51.0491)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3EC0 #83C03E
analogous
#3E42C0 #7B3EC0 #BC3EC0
triadic
#7B3EC0 #C07B3E #3EC07B
tetradic
#7B3EC0 #C03E42 #83C03E #3EC0BC
square
#7B3EC0 #C03E42 #83C03E #3EC0BC
split-complementary
#7B3EC0 #C0BC3E #42C03E
monochromatic
#402063 #5D2F92 #7B3EC0 #9B6CCF #BA9ADE

Accessibility & contrast

On white

6.38
#7B3EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7B3EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3EC0
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3EC0#FFFFFF#000000##FFFFFF
##7B3EC01.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#6C5C7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b3ec0;
/* rgb */ color: rgb(123, 62, 192);
/* oklch */ color: oklch(50.8% 0.194 301.3);
Tailwind
colors: {
  custom: {
    50: '#a678d4',
    500: '#7b3ec0',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ec0;
$custom-light: #a678d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ec0",
  "rgb": {
    "r": 123,
    "g": 62,
    "b": 192
  },
  "hsl": {
    "h": 268.154,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50839,
    "c": 0.19387,
    "h": 301.3
  },
  "luminance": 0.11462
}

Semantic roles & 50–950 ramp

primary
#7B3EC0
secondary
#AFCA8F
accent
#DB4D98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B3EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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