#7B59F7#7B59F7

#7B59F7 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.8% C 0.224 H 287.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7B59F7
RGBrgb(123, 89, 247)
HSLhsl(253, 91%, 66%)
HSVhsv(253, 64%, 97%)
CMYKcmyk(50.2%, 64%, 0%, 3.1%)
CIE-LABlab(49.58, 52.08, -74.60)
CIE-LCHlch(49.58, 90.98, 304.92°)
OKLaboklab(58.76% 0.0665 -0.2139)
OKLCHoklch(58.76% 0.224 287.3)
XYZxyz(28.5243, 18.0698, 89.9625)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59F7 #D5F759
analogous
#5986F7 #7B59F7 #CA59F7
triadic
#7B59F7 #F77B59 #59F77B
tetradic
#7B59F7 #F75986 #D5F759 #59F7CA
square
#7B59F7 #F75986 #D5F759 #59F7CA
split-complementary
#7B59F7 #F7CA59 #86F759
monochromatic
#340ACC #4D1FF4 #7B59F7 #A993FA #D8CEFD

Accessibility & contrast

On white

4.55
#7B59F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#7B59F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B59F7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59F7#FFFFFF#000000##000000
##7B59F71.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFC
Deuteranopia (green-blind)
#0072F4
Tritanopia (blue-blind)
#4D80A0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b59f7;
/* rgb */ color: rgb(123, 89, 247);
/* oklch */ color: oklch(58.8% 0.224 287.3);
Tailwind
colors: {
  custom: {
    50: '#ab8afb',
    500: '#7b59f7',
    950: '#000000',
  },
}
SCSS
$custom: #7b59f7;
$custom-light: #ab8afb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59f7",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 247
  },
  "hsl": {
    "h": 252.911,
    "s": 90.805,
    "l": 65.882
  },
  "oklch": {
    "l": 0.58762,
    "c": 0.22406,
    "h": 287.3
  },
  "luminance": 0.18071
}

Semantic roles & 50–950 ramp

primary
#7B59F7
secondary
#E5F0BC
accent
#E600B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7B59F7

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

Preview Lab → · Contrast checker → · Palette generator →

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