#7B59F2#7B59F2

#7B59F2 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.4% C 0.218 H 287.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7B59F2
RGBrgb(123, 89, 242)
HSLhsl(253, 85%, 65%)
HSVhsv(253, 63%, 95%)
CMYKcmyk(49.2%, 63.2%, 0%, 5.1%)
CIE-LABlab(49.21, 50.67, -72.41)
CIE-LCHlch(49.21, 88.38, 304.99°)
OKLaboklab(58.38% 0.067 -0.2075)
OKLCHoklch(58.38% 0.218 287.9)
XYZxyz(27.7631, 17.7653, 85.9534)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59F2 #D0F259
analogous
#5984F2 #7B59F2 #C759F2
triadic
#7B59F2 #F27B59 #59F27B
tetradic
#7B59F2 #F25984 #D0F259 #59F2C7
square
#7B59F2 #F25984 #D0F259 #59F2C7
split-complementary
#7B59F2 #F2C759 #84F259
monochromatic
#370FC1 #4E20EE #7B59F2 #A892F6 #D5CBFB

Accessibility & contrast

On white

4.61
#7B59F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7B59F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59F2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59F2#FFFFFF#000000##FFFFFF
##7B59F21.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#0071EF
Tritanopia (blue-blind)
#517E9E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7b59f2;
/* rgb */ color: rgb(123, 89, 242);
/* oklch */ color: oklch(58.4% 0.218 287.9);
Tailwind
colors: {
  custom: {
    50: '#aa8af7',
    500: '#7b59f2',
    950: '#000000',
  },
}
SCSS
$custom: #7b59f2;
$custom-light: #aa8af7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59f2",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 242
  },
  "hsl": {
    "h": 253.333,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58378,
    "c": 0.21806,
    "h": 287.9
  },
  "luminance": 0.17767
}

Semantic roles & 50–950 ramp

primary
#7B59F2
secondary
#E2EDB9
accent
#E204B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B59F2

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

Preview Lab → · Contrast checker → · Palette generator →

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