#7B59E7#7B59E7

#7B59E7 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.6% C 0.205 H 289.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7B59E7
RGBrgb(123, 89, 231)
HSLhsl(254, 75%, 63%)
HSVhsv(254, 61%, 91%)
CMYKcmyk(46.8%, 61.5%, 0%, 9.4%)
CIE-LABlab(48.42, 47.59, -67.52)
CIE-LCHlch(48.42, 82.60, 305.18°)
OKLaboklab(57.55% 0.0679 -0.1931)
OKLCHoklch(57.55% 0.205 289.4)
XYZxyz(26.1604, 17.1242, 77.5127)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59E7 #C5E759
analogous
#597EE7 #7B59E7 #C259E7
triadic
#7B59E7 #E77B59 #59E77B
tetradic
#7B59E7 #E7597E #C5E759 #59E7C2
square
#7B59E7 #E7597E #C5E759 #59E7C2
split-complementary
#7B59E7 #E7C259 #7EE759
monochromatic
#3C19AD #5024DF #7B59E7 #A68EEF #D0C4F6

Accessibility & contrast

On white

4.75
#7B59E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7B59E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59E7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59E7#FFFFFF#000000##FFFFFF
##7B59E71.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#0070E4
Tritanopia (blue-blind)
#587A98
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b59e7;
/* rgb */ color: rgb(123, 89, 231);
/* oklch */ color: oklch(57.6% 0.205 289.4);
Tailwind
colors: {
  custom: {
    50: '#a989f0',
    500: '#7b59e7',
    950: '#000000',
  },
}
SCSS
$custom: #7b59e7;
$custom-light: #a989f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59e7",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 231
  },
  "hsl": {
    "h": 254.366,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57552,
    "c": 0.20472,
    "h": 289.4
  },
  "luminance": 0.17125
}

Semantic roles & 50–950 ramp

primary
#7B59E7
secondary
#DBE8B4
accent
#D70FA7
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B59E7

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

Preview Lab → · Contrast checker → · Palette generator →

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