#7B59CA#7B59CA

#7B59CA is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.5% C 0.168 H 294.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7B59CA
RGBrgb(123, 89, 202)
HSLhsl(258, 52%, 57%)
HSVhsv(258, 56%, 79%)
CMYKcmyk(39.1%, 55.9%, 0%, 20.8%)
CIE-LABlab(46.47, 39.57, -54.14)
CIE-LCHlch(46.47, 67.05, 306.16°)
OKLaboklab(55.51% 0.0688 -0.1538)
OKLCHoklch(55.51% 0.168 294.1)
XYZxyz(22.3986, 15.6195, 57.7004)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59CA #A8CA59
analogous
#5970CA #7B59CA #B459CA
triadic
#7B59CA #CA7B59 #59CA7B
tetradic
#7B59CA #CA5970 #A8CA59 #59CAB4
square
#7B59CA #CA5970 #A8CA59 #59CAB4
split-complementary
#7B59CA #CAB459 #70CA59
monochromatic
#432980 #5B38AE #7B59CA #A087D9 #C5B6E8

Accessibility & contrast

On white

5.09
#7B59CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7B59CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59CA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59CA#FFFFFF#000000##FFFFFF
##7B59CA1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206FCE
Deuteranopia (green-blind)
#2B6CC7
Tritanopia (blue-blind)
#677189
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b59ca;
/* rgb */ color: rgb(123, 89, 202);
/* oklch */ color: oklch(55.5% 0.168 294.1);
Tailwind
colors: {
  custom: {
    50: '#a689db',
    500: '#7b59ca',
    950: '#000000',
  },
}
SCSS
$custom: #7b59ca;
$custom-light: #a689db;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59ca",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 258.053,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55508,
    "c": 0.16846,
    "h": 294.1
  },
  "luminance": 0.1562
}

Semantic roles & 50–950 ramp

primary
#7B59CA
secondary
#C9D6A8
accent
#DB4DB0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7B59CA

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

Preview Lab → · Contrast checker → · Palette generator →

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