#7B59FA#7B59FA

#7B59FA is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.0% C 0.228 H 286.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7B59FA
RGBrgb(123, 89, 250)
HSLhsl(253, 94%, 66%)
HSVhsv(253, 64%, 98%)
CMYKcmyk(50.8%, 64.4%, 0%, 2%)
CIE-LABlab(49.81, 52.93, -75.91)
CIE-LCHlch(49.81, 92.54, 304.89°)
OKLaboklab(59% 0.0662 -0.2178)
OKLCHoklch(59% 0.228 286.9)
XYZxyz(28.9910, 18.2564, 92.4202)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59FA #D8FA59
analogous
#5988FA #7B59FA #CC59FA
triadic
#7B59FA #FA7B59 #59FA7B
tetradic
#7B59FA #FA5988 #D8FA59 #59FACC
square
#7B59FA #FA5988 #D8FA59 #59FACC
split-complementary
#7B59FA #FACC59 #88FA59
monochromatic
#3106D2 #4C1EF8 #7B59FA #AA94FC #D9D0FE

Accessibility & contrast

On white

4.51
#7B59FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7B59FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B59FA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59FA#FFFFFF#000000##000000
##7B59FA1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0072F7
Tritanopia (blue-blind)
#4B81A2
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b59fa;
/* rgb */ color: rgb(123, 89, 250);
/* oklch */ color: oklch(59.0% 0.228 286.9);
Tailwind
colors: {
  custom: {
    50: '#ab8afd',
    500: '#7b59fa',
    950: '#000000',
  },
}
SCSS
$custom: #7b59fa;
$custom-light: #ab8afd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59fa",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 250
  },
  "hsl": {
    "h": 252.671,
    "s": 94.152,
    "l": 66.471
  },
  "oklch": {
    "l": 0.58996,
    "c": 0.22762,
    "h": 286.9
  },
  "luminance": 0.18258
}

Semantic roles & 50–950 ramp

primary
#7B59FA
secondary
#E6F1BD
accent
#E600B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7B59FA

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

Preview Lab → · Contrast checker → · Palette generator →

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