#7B59BF#7B59BF

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

Color values

HEX#7B59BF
RGBrgb(123, 89, 191)
HSLhsl(260, 44%, 55%)
HSVhsv(260, 53%, 75%)
CMYKcmyk(35.6%, 53.4%, 0%, 25.1%)
CIE-LABlab(45.79, 36.60, -48.87)
CIE-LCHlch(45.79, 61.05, 306.83°)
OKLaboklab(54.79% 0.0684 -0.1383)
OKLCHoklch(54.79% 0.154 296.3)
XYZxyz(21.1423, 15.1170, 51.0841)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59BF #9DBF59
analogous
#596ABF #7B59BF #AE59BF
triadic
#7B59BF #BF7B59 #59BF7B
tetradic
#7B59BF #BF596A #9DBF59 #59BFAE
square
#7B59BF #BF596A #9DBF59 #59BFAE
split-complementary
#7B59BF #BFAE59 #6ABF59
monochromatic
#432C72 #5D3D9E #7B59BF #9E85D0 #C1B1E1

Accessibility & contrast

On white

5.22
#7B59BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7B59BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59BF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59BF#FFFFFF#000000##FFFFFF
##7B59BF1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6DC2
Deuteranopia (green-blind)
#386BBD
Tritanopia (blue-blind)
#6B6D83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7b59bf;
/* rgb */ color: rgb(123, 89, 191);
/* oklch */ color: oklch(54.8% 0.154 296.3);
Tailwind
colors: {
  custom: {
    50: '#a589d3',
    500: '#7b59bf',
    950: '#000000',
  },
}
SCSS
$custom: #7b59bf;
$custom-light: #a589d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59bf",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 191
  },
  "hsl": {
    "h": 260,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5479,
    "c": 0.1543,
    "h": 296.3
  },
  "luminance": 0.15117
}

Semantic roles & 50–950 ramp

primary
#7B59BF
secondary
#C1CFA4
accent
#D454A9
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7B59BF

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

Preview Lab → · Contrast checker → · Palette generator →

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