#7B59B2#7B59B2

#7B59B2 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.0% C 0.137 H 299.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7B59B2
RGBrgb(123, 89, 178)
HSLhsl(263, 37%, 52%)
HSVhsv(263, 50%, 70%)
CMYKcmyk(30.9%, 50%, 0%, 30.2%)
CIE-LABlab(45.04, 33.17, -42.49)
CIE-LCHlch(45.04, 53.91, 307.98°)
OKLaboklab(53.99% 0.0674 -0.1196)
OKLCHoklch(53.99% 0.137 299.4)
XYZxyz(19.7747, 14.5699, 43.8813)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59B2 #90B259
analogous
#5964B2 #7B59B2 #A859B2
triadic
#7B59B2 #B27B59 #59B27B
tetradic
#7B59B2 #B25964 #90B259 #59B2A8
square
#7B59B2 #B25964 #90B259 #59B2A8
split-complementary
#7B59B2 #B2A859 #64B259
monochromatic
#422E63 #5E418D #7B59B2 #9C83C5 #BDADD9

Accessibility & contrast

On white

5.37
#7B59B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7B59B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59B2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59B2#FFFFFF#000000##FFFFFF
##7B59B21.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6AB5
Deuteranopia (green-blind)
#446AB0
Tritanopia (blue-blind)
#706A7D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b59b2;
/* rgb */ color: rgb(123, 89, 178);
/* oklch */ color: oklch(54.0% 0.137 299.4);
Tailwind
colors: {
  custom: {
    50: '#a489c9',
    500: '#7b59b2',
    950: '#000000',
  },
}
SCSS
$custom: #7b59b2;
$custom-light: #a489c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59b2",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 178
  },
  "hsl": {
    "h": 262.921,
    "s": 36.626,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53985,
    "c": 0.13733,
    "h": 299.4
  },
  "luminance": 0.1457
}

Semantic roles & 50–950 ramp

primary
#7B59B2
secondary
#B8C7A0
accent
#CD5BA1
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #7B59B2

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

Preview Lab → · Contrast checker → · Palette generator →

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