#7B5BBF#7B5BBF

#7B5BBF is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.1% C 0.151 H 295.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7B5BBF
RGBrgb(123, 91, 191)
HSLhsl(259, 44%, 55%)
HSVhsv(259, 52%, 75%)
CMYKcmyk(35.6%, 52.4%, 0%, 25.1%)
CIE-LABlab(46.25, 35.44, -48.14)
CIE-LCHlch(46.25, 59.77, 306.36°)
OKLaboklab(55.13% 0.0658 -0.1362)
OKLCHoklch(55.13% 0.151 295.8)
XYZxyz(21.3110, 15.4544, 51.1403)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5BBF #9FBF5B
analogous
#5B6DBF #7B5BBF #AD5BBF
triadic
#7B5BBF #BF7B5B #5BBF7B
tetradic
#7B5BBF #BF5B6D #9FBF5B #5BBFAD
square
#7B5BBF #BF5B6D #9FBF5B #5BBFAD
split-complementary
#7B5BBF #BFAD5B #6DBF5B
monochromatic
#432D73 #5D3E9F #7B5BBF #9E87D0 #C2B3E1

Accessibility & contrast

On white

5.13
#7B5BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7B5BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B5BBF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5BBF#FFFFFF#000000##FFFFFF
##7B5BBF1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336EC2
Deuteranopia (green-blind)
#3B6CBD
Tritanopia (blue-blind)
#6B6F84
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b5bbf;
/* rgb */ color: rgb(123, 91, 191);
/* oklch */ color: oklch(55.1% 0.151 295.8);
Tailwind
colors: {
  custom: {
    50: '#a58ad3',
    500: '#7b5bbf',
    950: '#000000',
  },
}
SCSS
$custom: #7b5bbf;
$custom-light: #a58ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5bbf",
  "rgb": {
    "r": 123,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 259.2,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55128,
    "c": 0.15124,
    "h": 295.8
  },
  "luminance": 0.15455
}

Semantic roles & 50–950 ramp

primary
#7B5BBF
secondary
#C2D0A6
accent
#D454AB
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7B5BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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