#7B59CC#7B59CC

#7B59CC is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.6% C 0.171 H 293.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7B59CC
RGBrgb(123, 89, 204)
HSLhsl(258, 53%, 57%)
HSVhsv(258, 56%, 80%)
CMYKcmyk(39.7%, 56.4%, 0%, 20%)
CIE-LABlab(46.60, 40.11, -55.08)
CIE-LCHlch(46.60, 68.14, 306.06°)
OKLaboklab(55.64% 0.0688 -0.1566)
OKLCHoklch(55.64% 0.171 293.7)
XYZxyz(22.6369, 15.7148, 58.9556)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59CC #AACC59
analogous
#5971CC #7B59CC #B459CC
triadic
#7B59CC #CC7B59 #59CC7B
tetradic
#7B59CC #CC5971 #AACC59 #59CCB4
square
#7B59CC #CC5971 #AACC59 #59CCB4
split-complementary
#7B59CC #CCB459 #71CC59
monochromatic
#432883 #5B36B1 #7B59CC #A088DA #C5B7E9

Accessibility & contrast

On white

5.07
#7B59CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7B59CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59CC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59CC#FFFFFF#000000##FFFFFF
##7B59CC1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C70D0
Deuteranopia (green-blind)
#286CC9
Tritanopia (blue-blind)
#66718A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b59cc;
/* rgb */ color: rgb(123, 89, 204);
/* oklch */ color: oklch(55.6% 0.171 293.7);
Tailwind
colors: {
  custom: {
    50: '#a689dc',
    500: '#7b59cc',
    950: '#000000',
  },
}
SCSS
$custom: #7b59cc;
$custom-light: #a689dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59cc",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 257.739,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55642,
    "c": 0.17101,
    "h": 293.7
  },
  "luminance": 0.15715
}

Semantic roles & 50–950 ramp

primary
#7B59CC
secondary
#CAD8A9
accent
#DC4BB2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7B59CC

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

Preview Lab → · Contrast checker → · Palette generator →

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