#7B59EF#7B59EF

#7B59EF is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.1% C 0.214 H 288.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7B59EF
RGBrgb(123, 89, 239)
HSLhsl(254, 82%, 64%)
HSVhsv(254, 63%, 94%)
CMYKcmyk(48.5%, 62.8%, 0%, 6.3%)
CIE-LABlab(48.99, 49.83, -71.09)
CIE-LCHlch(48.99, 86.81, 305.03°)
OKLaboklab(58.15% 0.0673 -0.2036)
OKLCHoklch(58.15% 0.214 288.3)
XYZxyz(27.3162, 17.5865, 83.5998)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59EF #CDEF59
analogous
#5982EF #7B59EF #C659EF
triadic
#7B59EF #EF7B59 #59EF7B
tetradic
#7B59EF #EF5982 #CDEF59 #59EFC6
square
#7B59EF #EF5982 #CDEF59 #59EFC6
split-complementary
#7B59EF #EFC659 #82EF59
monochromatic
#3812BC #4F21EA #7B59EF #A791F4 #D4C9FA

Accessibility & contrast

On white

4.65
#7B59EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#7B59EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59EF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59EF#FFFFFF#000000##FFFFFF
##7B59EF1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#0071EC
Tritanopia (blue-blind)
#537D9C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7b59ef;
/* rgb */ color: rgb(123, 89, 239);
/* oklch */ color: oklch(58.1% 0.214 288.3);
Tailwind
colors: {
  custom: {
    50: '#aa8af5',
    500: '#7b59ef',
    950: '#000000',
  },
}
SCSS
$custom: #7b59ef;
$custom-light: #aa8af5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59ef",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 239
  },
  "hsl": {
    "h": 253.6,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.5815,
    "c": 0.21445,
    "h": 288.3
  },
  "luminance": 0.17588
}

Semantic roles & 50–950 ramp

primary
#7B59EF
secondary
#E0ECB8
accent
#DF07AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B59EF

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

Preview Lab → · Contrast checker → · Palette generator →

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