#7B59EE#7B59EE

#7B59EE is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.1% C 0.213 H 288.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7B59EE
RGBrgb(123, 89, 238)
HSLhsl(254, 81%, 64%)
HSVhsv(254, 63%, 93%)
CMYKcmyk(48.3%, 62.6%, 0%, 6.7%)
CIE-LABlab(48.92, 49.55, -70.64)
CIE-LCHlch(48.92, 86.29, 305.05°)
OKLaboklab(58.08% 0.0674 -0.2023)
OKLCHoklch(58.08% 0.213 288.4)
XYZxyz(27.1689, 17.5276, 82.8240)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59EE #CCEE59
analogous
#5982EE #7B59EE #C559EE
triadic
#7B59EE #EE7B59 #59EE7B
tetradic
#7B59EE #EE5982 #CCEE59 #59EEC5
square
#7B59EE #EE5982 #CCEE59 #59EEC5
split-complementary
#7B59EE #EEC559 #82EE59
monochromatic
#3913BA #4F21E8 #7B59EE #A791F4 #D3C8F9

Accessibility & contrast

On white

4.66
#7B59EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#7B59EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59EE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59EE#FFFFFF#000000##FFFFFF
##7B59EE1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F3
Deuteranopia (green-blind)
#0070EB
Tritanopia (blue-blind)
#547D9B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7b59ee;
/* rgb */ color: rgb(123, 89, 238);
/* oklch */ color: oklch(58.1% 0.213 288.4);
Tailwind
colors: {
  custom: {
    50: '#aa8af4',
    500: '#7b59ee',
    950: '#000000',
  },
}
SCSS
$custom: #7b59ee;
$custom-light: #aa8af4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59ee",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 238
  },
  "hsl": {
    "h": 253.691,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58075,
    "c": 0.21324,
    "h": 288.4
  },
  "luminance": 0.17529
}

Semantic roles & 50–950 ramp

primary
#7B59EE
secondary
#E0EBB7
accent
#DE08AD
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B59EE

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

Preview Lab → · Contrast checker → · Palette generator →

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