#7B3EB7#7B3EB7

#7B3EB7 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.2% C 0.184 H 303.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7B3EB7
RGBrgb(123, 62, 183)
HSLhsl(270, 49%, 48%)
HSVhsv(270, 66%, 72%)
CMYKcmyk(32.8%, 66.1%, 0%, 28.2%)
CIE-LABlab(39.71, 49.32, -53.98)
CIE-LCHlch(39.71, 73.12, 312.42°)
OKLaboklab(50.18% 0.1016 -0.1533)
OKLCHoklch(50.18% 0.184 303.5)
XYZxyz(18.4363, 11.0751, 45.9570)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3EB7 #7AB73E
analogous
#3E3EB7 #7B3EB7 #B73EB6
triadic
#7B3EB7 #B77B3E #3EB77B
tetradic
#7B3EB7 #B73E3E #7AB73E #3EB6B7
square
#7B3EB7 #B73E3E #7AB73E #3EB6B7
split-complementary
#7B3EB7 #B6B73E #3EB73E
monochromatic
#3E1F5C #5C2F89 #7B3EB7 #9A67CB #B894DB

Accessibility & contrast

On white

6.53
#7B3EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7B3EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3EB7
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3EB7#FFFFFF#000000##FFFFFF
##7B3EB71.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#125DB4
Tritanopia (blue-blind)
#6F5975
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7b3eb7;
/* rgb */ color: rgb(123, 62, 183);
/* oklch */ color: oklch(50.2% 0.184 303.5);
Tailwind
colors: {
  custom: {
    50: '#a677cd',
    500: '#7b3eb7',
    950: '#000000',
  },
}
SCSS
$custom: #7b3eb7;
$custom-light: #a677cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3eb7",
  "rgb": {
    "r": 123,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 270.248,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50176,
    "c": 0.18389,
    "h": 303.5
  },
  "luminance": 0.11075
}

Semantic roles & 50–950 ramp

primary
#7B3EB7
secondary
#A8C68A
accent
#D94F93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7B3EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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