#7B59B7#7B59B7

#7B59B7 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.3% C 0.144 H 298.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7B59B7
RGBrgb(123, 89, 183)
HSLhsl(262, 39%, 53%)
HSVhsv(262, 51%, 72%)
CMYKcmyk(32.8%, 51.4%, 0%, 28.2%)
CIE-LABlab(45.32, 34.48, -44.96)
CIE-LCHlch(45.32, 56.66, 307.48°)
OKLaboklab(54.29% 0.0679 -0.1269)
OKLCHoklch(54.29% 0.144 298.2)
XYZxyz(20.2859, 14.7744, 46.5736)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59B7 #95B759
analogous
#5966B7 #7B59B7 #AA59B7
triadic
#7B59B7 #B77B59 #59B77B
tetradic
#7B59B7 #B75966 #95B759 #59B7AA
square
#7B59B7 #B75966 #95B759 #59B7AA
split-complementary
#7B59B7 #B7AA59 #66B759
monochromatic
#432D68 #5E4093 #7B59B7 #9D84CA #BFAEDC

Accessibility & contrast

On white

5.31
#7B59B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7B59B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59B7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59B7#FFFFFF#000000##FFFFFF
##7B59B71.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376BBA
Deuteranopia (green-blind)
#406AB5
Tritanopia (blue-blind)
#6E6B7F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b59b7;
/* rgb */ color: rgb(123, 89, 183);
/* oklch */ color: oklch(54.3% 0.144 298.2);
Tailwind
colors: {
  custom: {
    50: '#a489cd',
    500: '#7b59b7',
    950: '#000000',
  },
}
SCSS
$custom: #7b59b7;
$custom-light: #a489cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59b7",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 183
  },
  "hsl": {
    "h": 261.702,
    "s": 39.496,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54289,
    "c": 0.14388,
    "h": 298.2
  },
  "luminance": 0.14775
}

Semantic roles & 50–950 ramp

primary
#7B59B7
secondary
#BBCAA2
accent
#CF58A4
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #7B59B7

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

Preview Lab → · Contrast checker → · Palette generator →

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