#7B59DB#7B59DB

#7B59DB is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.7% C 0.190 H 291.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7B59DB
RGBrgb(123, 89, 219)
HSLhsl(256, 64%, 60%)
HSVhsv(256, 59%, 86%)
CMYKcmyk(43.8%, 59.4%, 0%, 14.1%)
CIE-LABlab(47.58, 44.24, -62.07)
CIE-LCHlch(47.58, 76.22, 305.48°)
OKLaboklab(56.68% 0.0686 -0.1771)
OKLCHoklch(56.68% 0.19 291.2)
XYZxyz(24.5234, 16.4694, 68.8909)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59DB #B9DB59
analogous
#5978DB #7B59DB #BC59DB
triadic
#7B59DB #DB7B59 #59DB7B
tetradic
#7B59DB #DB5978 #B9DB59 #59DBBC
square
#7B59DB #DB5978 #B9DB59 #59DBBC
split-complementary
#7B59DB #DBBC59 #78DB59
monochromatic
#402199 #562CCB #7B59DB #A38BE6 #CBBEF1

Accessibility & contrast

On white

4.89
#7B59DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7B59DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59DB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59DB#FFFFFF#000000##FFFFFF
##7B59DB1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#5F7691
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b59db;
/* rgb */ color: rgb(123, 89, 219);
/* oklch */ color: oklch(56.7% 0.190 291.2);
Tailwind
colors: {
  custom: {
    50: '#a789e7',
    500: '#7b59db',
    950: '#000000',
  },
}
SCSS
$custom: #7b59db;
$custom-light: #a789e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59db",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 219
  },
  "hsl": {
    "h": 255.692,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56681,
    "c": 0.18991,
    "h": 291.2
  },
  "luminance": 0.1647
}

Semantic roles & 50–950 ramp

primary
#7B59DB
secondary
#D4E1AF
accent
#CC199D
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7B59DB

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

Preview Lab → · Contrast checker → · Palette generator →

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