#7B59D7#7B59D7

#7B59D7 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.4% C 0.185 H 291.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7B59D7
RGBrgb(123, 89, 215)
HSLhsl(256, 61%, 60%)
HSVhsv(256, 59%, 84%)
CMYKcmyk(42.8%, 58.6%, 0%, 15.7%)
CIE-LABlab(47.32, 43.13, -60.23)
CIE-LCHlch(47.32, 74.08, 305.61°)
OKLaboklab(56.4% 0.0687 -0.1717)
OKLCHoklch(56.4% 0.185 291.8)
XYZxyz(24.0031, 16.2613, 66.1509)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59D7 #B5D759
analogous
#5976D7 #7B59D7 #BA59D7
triadic
#7B59D7 #D77B59 #59D77B
tetradic
#7B59D7 #D75976 #B5D759 #59D7BA
square
#7B59D7 #D75976 #B5D759 #59D7BA
split-complementary
#7B59D7 #D7BA59 #76D759
monochromatic
#412392 #572FC4 #7B59D7 #A28AE3 #C9BCEF

Accessibility & contrast

On white

4.94
#7B59D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7B59D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59D7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59D7#FFFFFF#000000##FFFFFF
##7B59D71.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#0C6ED4
Tritanopia (blue-blind)
#61758F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b59d7;
/* rgb */ color: rgb(123, 89, 215);
/* oklch */ color: oklch(56.4% 0.185 291.8);
Tailwind
colors: {
  custom: {
    50: '#a789e4',
    500: '#7b59d7',
    950: '#000000',
  },
}
SCSS
$custom: #7b59d7;
$custom-light: #a789e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59d7",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 215
  },
  "hsl": {
    "h": 256.19,
    "s": 61.165,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56398,
    "c": 0.18491,
    "h": 291.8
  },
  "luminance": 0.16262
}

Semantic roles & 50–950 ramp

primary
#7B59D7
secondary
#D1DEAD
accent
#E444B9
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7B59D7

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

Preview Lab → · Contrast checker → · Palette generator →

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