#7B59BA#7B59BA

#7B59BA is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.5% C 0.148 H 297.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7B59BA
RGBrgb(123, 89, 186)
HSLhsl(261, 41%, 54%)
HSVhsv(261, 52%, 73%)
CMYKcmyk(33.9%, 52.2%, 0%, 27.1%)
CIE-LABlab(45.50, 35.27, -46.43)
CIE-LCHlch(45.50, 58.31, 307.22°)
OKLaboklab(54.47% 0.0681 -0.1312)
OKLCHoklch(54.47% 0.148 297.4)
XYZxyz(20.6015, 14.9006, 48.2356)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59BA #98BA59
analogous
#5968BA #7B59BA #AC59BA
triadic
#7B59BA #BA7B59 #59BA7B
tetradic
#7B59BA #BA5968 #98BA59 #59BAAC
square
#7B59BA #BA5968 #98BA59 #59BAAC
split-complementary
#7B59BA #BAAC59 #68BA59
monochromatic
#432D6C #5E3F97 #7B59BA #9D84CC #C0AFDE

Accessibility & contrast

On white

5.28
#7B59BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7B59BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59BA
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59BA#FFFFFF#000000##FFFFFF
##7B59BA1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346CBD
Deuteranopia (green-blind)
#3D6BB8
Tritanopia (blue-blind)
#6D6C81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7b59ba;
/* rgb */ color: rgb(123, 89, 186);
/* oklch */ color: oklch(54.5% 0.148 297.4);
Tailwind
colors: {
  custom: {
    50: '#a489cf',
    500: '#7b59ba',
    950: '#000000',
  },
}
SCSS
$custom: #7b59ba;
$custom-light: #a489cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59ba",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 186
  },
  "hsl": {
    "h": 261.031,
    "s": 41.277,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54474,
    "c": 0.1478,
    "h": 297.4
  },
  "luminance": 0.14901
}

Semantic roles & 50–950 ramp

primary
#7B59BA
secondary
#BECCA3
accent
#D157A6
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7B59BA

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

Preview Lab → · Contrast checker → · Palette generator →

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