#7B5EB0#7B5EB0

#7B5EB0 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 54.8% C 0.127 H 298.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7B5EB0
RGBrgb(123, 94, 176)
HSLhsl(261, 34%, 53%)
HSVhsv(261, 47%, 69%)
CMYKcmyk(30.1%, 46.6%, 0%, 31%)
CIE-LABlab(46.11, 29.70, -39.62)
CIE-LCHlch(46.11, 49.52, 306.86°)
OKLaboklab(54.75% 0.0603 -0.1112)
OKLCHoklch(54.75% 0.127 298.4)
XYZxyz(20.0057, 15.3508, 42.9749)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5EB0 #93B05E
analogous
#5E6AB0 #7B5EB0 #A45EB0
triadic
#7B5EB0 #B07B5E #5EB07B
tetradic
#7B5EB0 #B05E6A #93B05E #5EB0A4
square
#7B5EB0 #B05E6A #93B05E #5EB0A4
split-complementary
#7B5EB0 #B0A45E #6AB05E
monochromatic
#423163 #5E458C #7B5EB0 #9D87C4 #BEB0D8

Accessibility & contrast

On white

5.16
#7B5EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7B5EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B5EB0
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5EB0#FFFFFF#000000##FFFFFF
##7B5EB01.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456DB3
Deuteranopia (green-blind)
#4B6CAE
Tritanopia (blue-blind)
#706D7E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7b5eb0;
/* rgb */ color: rgb(123, 94, 176);
/* oklch */ color: oklch(54.8% 0.127 298.4);
Tailwind
colors: {
  custom: {
    50: '#a38cc8',
    500: '#7b5eb0',
    950: '#000000',
  },
}
SCSS
$custom: #7b5eb0;
$custom-light: #a38cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5eb0",
  "rgb": {
    "r": 123,
    "g": 94,
    "b": 176
  },
  "hsl": {
    "h": 261.22,
    "s": 34.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54751,
    "c": 0.12653,
    "h": 298.4
  },
  "luminance": 0.15351
}

Semantic roles & 50–950 ramp

primary
#7B5EB0
secondary
#BAC7A3
accent
#CA5EA4
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #7B5EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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