#7B59E1#7B59E1

#7B59E1 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.1% C 0.197 H 290.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7B59E1
RGBrgb(123, 89, 225)
HSLhsl(255, 69%, 62%)
HSVhsv(255, 60%, 88%)
CMYKcmyk(45.3%, 60.4%, 0%, 11.8%)
CIE-LABlab(48.00, 45.91, -64.81)
CIE-LCHlch(48.00, 79.42, 305.31°)
OKLaboklab(57.11% 0.0683 -0.1851)
OKLCHoklch(57.11% 0.197 290.3)
XYZxyz(25.3275, 16.7910, 73.1261)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59E1 #BFE159
analogous
#597BE1 #7B59E1 #BF59E1
triadic
#7B59E1 #E17B59 #59E17B
tetradic
#7B59E1 #E1597B #BFE159 #59E1BF
square
#7B59E1 #E1597B #BFE159 #59E1BF
split-complementary
#7B59E1 #E1BF59 #7BE159
monochromatic
#3F1DA2 #5327D6 #7B59E1 #A48DEA #CDC1F4

Accessibility & contrast

On white

4.82
#7B59E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#7B59E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59E1
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59E1#FFFFFF#000000##FFFFFF
##7B59E11.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#006FDE
Tritanopia (blue-blind)
#5C7895
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7b59e1;
/* rgb */ color: rgb(123, 89, 225);
/* oklch */ color: oklch(57.1% 0.197 290.3);
Tailwind
colors: {
  custom: {
    50: '#a889eb',
    500: '#7b59e1',
    950: '#000000',
  },
}
SCSS
$custom: #7b59e1;
$custom-light: #a889eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59e1",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 225
  },
  "hsl": {
    "h": 255,
    "s": 69.388,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57112,
    "c": 0.19735,
    "h": 290.3
  },
  "luminance": 0.16792
}

Semantic roles & 50–950 ramp

primary
#7B59E1
secondary
#D8E4B2
accent
#D114A2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7B59E1

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

Preview Lab → · Contrast checker → · Palette generator →

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