#7B59CB#7B59CB

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

Color values

HEX#7B59CB
RGBrgb(123, 89, 203)
HSLhsl(258, 52%, 57%)
HSVhsv(258, 56%, 80%)
CMYKcmyk(39.4%, 56.2%, 0%, 20.4%)
CIE-LABlab(46.53, 39.84, -54.61)
CIE-LCHlch(46.53, 67.60, 306.11°)
OKLaboklab(55.58% 0.0688 -0.1552)
OKLCHoklch(55.58% 0.17 293.9)
XYZxyz(22.5174, 15.6670, 58.3260)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59CB #A9CB59
analogous
#5970CB #7B59CB #B459CB
triadic
#7B59CB #CB7B59 #59CB7B
tetradic
#7B59CB #CB5970 #A9CB59 #59CBB4
square
#7B59CB #CB5970 #A9CB59 #59CBB4
split-complementary
#7B59CB #CBB459 #70CB59
monochromatic
#432881 #5B37B0 #7B59CB #A088DA #C5B6E8

Accessibility & contrast

On white

5.08
#7B59CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7B59CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59CB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59CB#FFFFFF#000000##FFFFFF
##7B59CB1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6FCF
Deuteranopia (green-blind)
#296CC8
Tritanopia (blue-blind)
#677189
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b59cb;
/* rgb */ color: rgb(123, 89, 203);
/* oklch */ color: oklch(55.6% 0.170 293.9);
Tailwind
colors: {
  custom: {
    50: '#a689db',
    500: '#7b59cb',
    950: '#000000',
  },
}
SCSS
$custom: #7b59cb;
$custom-light: #a689db;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59cb",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 203
  },
  "hsl": {
    "h": 257.895,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55575,
    "c": 0.16974,
    "h": 293.9
  },
  "luminance": 0.15668
}

Semantic roles & 50–950 ramp

primary
#7B59CB
secondary
#C9D7A9
accent
#DC4CB1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7B59CB

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

Preview Lab → · Contrast checker → · Palette generator →

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