#7B59DD#7B59DD

#7B59DD is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.8% C 0.192 H 290.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7B59DD
RGBrgb(123, 89, 221)
HSLhsl(255, 66%, 61%)
HSVhsv(255, 60%, 87%)
CMYKcmyk(44.3%, 59.7%, 0%, 13.3%)
CIE-LABlab(47.72, 44.80, -62.99)
CIE-LCHlch(47.72, 77.29, 305.42°)
OKLaboklab(56.82% 0.0685 -0.1798)
OKLCHoklch(56.82% 0.192 290.9)
XYZxyz(24.7883, 16.5753, 70.2859)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59DD #BBDD59
analogous
#5979DD #7B59DD #BD59DD
triadic
#7B59DD #DD7B59 #59DD7B
tetradic
#7B59DD #DD5979 #BBDD59 #59DDBD
square
#7B59DD #DD5979 #BBDD59 #59DDBD
split-complementary
#7B59DD #DDBD59 #79DD59
monochromatic
#40209C #552ACF #7B59DD #A38CE7 #CCBFF2

Accessibility & contrast

On white

4.87
#7B59DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7B59DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59DD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59DD#FFFFFF#000000##FFFFFF
##7B59DD1.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#006EDA
Tritanopia (blue-blind)
#5E7793
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b59dd;
/* rgb */ color: rgb(123, 89, 221);
/* oklch */ color: oklch(56.8% 0.192 290.9);
Tailwind
colors: {
  custom: {
    50: '#a889e8',
    500: '#7b59dd',
    950: '#000000',
  },
}
SCSS
$custom: #7b59dd;
$custom-light: #a889e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59dd",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 221
  },
  "hsl": {
    "h": 255.455,
    "s": 66,
    "l": 60.784
  },
  "oklch": {
    "l": 0.56824,
    "c": 0.1924,
    "h": 290.9
  },
  "luminance": 0.16576
}

Semantic roles & 50–950 ramp

primary
#7B59DD
secondary
#D5E2B0
accent
#CE189F
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7B59DD

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

Preview Lab → · Contrast checker → · Palette generator →

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