#7B3EBD#7B3EBD

#7B3EBD is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.6% C 0.191 H 302.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#7B3EBD
RGBrgb(123, 62, 189)
HSLhsl(269, 51%, 49%)
HSVhsv(269, 67%, 74%)
CMYKcmyk(34.9%, 67.2%, 0%, 25.9%)
CIE-LABlab(40.13, 50.79, -56.82)
CIE-LCHlch(40.13, 76.21, 311.79°)
OKLaboklab(50.62% 0.101 -0.1616)
OKLCHoklch(50.62% 0.191 302)
XYZxyz(19.0741, 11.3303, 49.3163)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3EBD #80BD3E
analogous
#3E40BD #7B3EBD #BB3EBD
triadic
#7B3EBD #BD7B3E #3EBD7B
tetradic
#7B3EBD #BD3E40 #80BD3E #3EBDBB
square
#7B3EBD #BD3E40 #80BD3E #3EBDBB
split-complementary
#7B3EBD #BDBB3E #40BD3E
monochromatic
#3F2061 #5D2F8F #7B3EBD #9A6ACE #B998DD

Accessibility & contrast

On white

6.43
#7B3EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B3EBD
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3EBD#FFFFFF#000000##FFFFFF
##7B3EBD1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#6D5B78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b3ebd;
/* rgb */ color: rgb(123, 62, 189);
/* oklch */ color: oklch(50.6% 0.191 302.0);
Tailwind
colors: {
  custom: {
    50: '#a677d2',
    500: '#7b3ebd',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ebd;
$custom-light: #a677d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ebd",
  "rgb": {
    "r": 123,
    "g": 62,
    "b": 189
  },
  "hsl": {
    "h": 268.819,
    "s": 50.598,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50616,
    "c": 0.19055,
    "h": 302
  },
  "luminance": 0.1133
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B3EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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