#7C59BB#7C59BB

#7C59BB is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.6% C 0.149 H 297.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7C59BB
RGBrgb(124, 89, 187)
HSLhsl(261, 42%, 54%)
HSVhsv(261, 52%, 73%)
CMYKcmyk(33.7%, 52.4%, 0%, 26.7%)
CIE-LABlab(45.66, 35.79, -46.75)
CIE-LCHlch(45.66, 58.88, 307.44°)
OKLaboklab(54.64% 0.0695 -0.1321)
OKLCHoklch(54.64% 0.149 297.7)
XYZxyz(20.8520, 15.0174, 48.8041)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C59BB #98BB59
analogous
#5967BB #7C59BB #AD59BB
triadic
#7C59BB #BB7C59 #59BB7C
tetradic
#7C59BB #BB5967 #98BB59 #59BBAD
square
#7C59BB #BB5967 #98BB59 #59BBAD
split-complementary
#7C59BB #BBAD59 #67BB59
monochromatic
#442D6D #5F3E98 #7C59BB #9E84CD #C1B0DF

Accessibility & contrast

On white

5.25
#7C59BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7C59BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C59BB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C59BB#FFFFFF#000000##FFFFFF
##7C59BB1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346CBE
Deuteranopia (green-blind)
#3D6BB9
Tritanopia (blue-blind)
#6E6C81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7c59bb;
/* rgb */ color: rgb(124, 89, 187);
/* oklch */ color: oklch(54.6% 0.149 297.7);
Tailwind
colors: {
  custom: {
    50: '#a589d0',
    500: '#7c59bb',
    950: '#000000',
  },
}
SCSS
$custom: #7c59bb;
$custom-light: #a589d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c59bb",
  "rgb": {
    "r": 124,
    "g": 89,
    "b": 187
  },
  "hsl": {
    "h": 261.429,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54636,
    "c": 0.14924,
    "h": 297.7
  },
  "luminance": 0.15018
}

Semantic roles & 50–950 ramp

primary
#7C59BB
secondary
#BECDA3
accent
#D256A6
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7C59BB

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

Preview Lab → · Contrast checker → · Palette generator →

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