#7B59BE#7B59BE

#7B59BE is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.7% C 0.153 H 296.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7B59BE
RGBrgb(123, 89, 190)
HSLhsl(260, 44%, 55%)
HSVhsv(260, 53%, 75%)
CMYKcmyk(35.3%, 53.2%, 0%, 25.5%)
CIE-LABlab(45.73, 36.33, -48.38)
CIE-LCHlch(45.73, 60.50, 306.91°)
OKLaboklab(54.73% 0.0684 -0.1369)
OKLCHoklch(54.73% 0.153 296.5)
XYZxyz(21.0327, 15.0731, 50.5065)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59BE #9CBE59
analogous
#596ABE #7B59BE #AE59BE
triadic
#7B59BE #BE7B59 #59BE7B
tetradic
#7B59BE #BE596A #9CBE59 #59BEAE
square
#7B59BE #BE596A #9CBE59 #59BEAE
split-complementary
#7B59BE #BEAE59 #6ABE59
monochromatic
#432C71 #5D3D9D #7B59BE #9E85CF #C1B1E0

Accessibility & contrast

On white

5.23
#7B59BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7B59BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59BE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59BE#FFFFFF#000000##FFFFFF
##7B59BE1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306DC1
Deuteranopia (green-blind)
#396BBC
Tritanopia (blue-blind)
#6C6D83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7b59be;
/* rgb */ color: rgb(123, 89, 190);
/* oklch */ color: oklch(54.7% 0.153 296.5);
Tailwind
colors: {
  custom: {
    50: '#a589d2',
    500: '#7b59be',
    950: '#000000',
  },
}
SCSS
$custom: #7b59be;
$custom-light: #a589d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59be",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 190
  },
  "hsl": {
    "h": 260.198,
    "s": 43.723,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54726,
    "c": 0.15301,
    "h": 296.5
  },
  "luminance": 0.15073
}

Semantic roles & 50–950 ramp

primary
#7B59BE
secondary
#C0CFA4
accent
#D354A9
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7B59BE

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

Preview Lab → · Contrast checker → · Palette generator →

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