#7B59B3#7B59B3

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

Color values

HEX#7B59B3
RGBrgb(123, 89, 179)
HSLhsl(263, 37%, 53%)
HSVhsv(263, 50%, 70%)
CMYKcmyk(31.3%, 50.3%, 0%, 29.8%)
CIE-LABlab(45.10, 33.43, -42.99)
CIE-LCHlch(45.10, 54.46, 307.87°)
OKLaboklab(54.05% 0.0675 -0.1211)
OKLCHoklch(54.05% 0.139 299.2)
XYZxyz(19.8755, 14.6102, 44.4120)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59B3 #91B359
analogous
#5964B3 #7B59B3 #A859B3
triadic
#7B59B3 #B37B59 #59B37B
tetradic
#7B59B3 #B35964 #91B359 #59B3A8
square
#7B59B3 #B35964 #91B359 #59B3A8
split-complementary
#7B59B3 #B3A859 #64B359
monochromatic
#422E64 #5E418E #7B59B3 #9C83C6 #BEADD9

Accessibility & contrast

On white

5.35
#7B59B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7B59B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59B3
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59B3#FFFFFF#000000##FFFFFF
##7B59B31.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6BB6
Deuteranopia (green-blind)
#436AB1
Tritanopia (blue-blind)
#6F6A7E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b59b3;
/* rgb */ color: rgb(123, 89, 179);
/* oklch */ color: oklch(54.0% 0.139 299.2);
Tailwind
colors: {
  custom: {
    50: '#a489ca',
    500: '#7b59b3',
    950: '#000000',
  },
}
SCSS
$custom: #7b59b3;
$custom-light: #a489ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59b3",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 179
  },
  "hsl": {
    "h": 262.667,
    "s": 37.19,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54045,
    "c": 0.13864,
    "h": 299.2
  },
  "luminance": 0.1461
}

Semantic roles & 50–950 ramp

primary
#7B59B3
secondary
#B9C7A0
accent
#CD5BA2
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #7B59B3

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

Preview Lab → · Contrast checker → · Palette generator →

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