#7B5DBE#7B5DBE

#7B5DBE is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.4% C 0.147 H 295.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7B5DBE
RGBrgb(123, 93, 190)
HSLhsl(259, 43%, 55%)
HSVhsv(259, 51%, 75%)
CMYKcmyk(35.3%, 51.1%, 0%, 25.5%)
CIE-LABlab(46.65, 34.00, -46.91)
CIE-LCHlch(46.65, 57.94, 305.93°)
OKLaboklab(55.41% 0.0632 -0.1326)
OKLCHoklch(55.41% 0.147 295.5)
XYZxyz(21.3746, 15.7570, 50.6205)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5DBE #A0BE5D
analogous
#5D6FBE #7B5DBE #AB5DBE
triadic
#7B5DBE #BE7B5D #5DBE7B
tetradic
#7B5DBE #BE5D6F #A0BE5D #5DBEAB
square
#7B5DBE #BE5D6F #A0BE5D #5DBEAB
split-complementary
#7B5DBE #BEAB5D #6FBE5D
monochromatic
#432E73 #5D409E #7B5DBE #9F89D0 #C2B4E1

Accessibility & contrast

On white

5.06
#7B5DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7B5DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B5DBE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5DBE#FFFFFF#000000##FFFFFF
##7B5DBE1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386FC1
Deuteranopia (green-blind)
#3F6DBC
Tritanopia (blue-blind)
#6B7085
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7b5dbe;
/* rgb */ color: rgb(123, 93, 190);
/* oklch */ color: oklch(55.4% 0.147 295.5);
Tailwind
colors: {
  custom: {
    50: '#a48bd2',
    500: '#7b5dbe',
    950: '#000000',
  },
}
SCSS
$custom: #7b5dbe;
$custom-light: #a48bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5dbe",
  "rgb": {
    "r": 123,
    "g": 93,
    "b": 190
  },
  "hsl": {
    "h": 258.557,
    "s": 42.731,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5541,
    "c": 0.14685,
    "h": 295.5
  },
  "luminance": 0.15757
}

Semantic roles & 50–950 ramp

primary
#7B5DBE
secondary
#C3D0A7
accent
#D355AC
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7B5DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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