#7B5DC1#7B5DC1

#7B5DC1 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.6% C 0.151 H 294.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7B5DC1
RGBrgb(123, 93, 193)
HSLhsl(258, 45%, 56%)
HSVhsv(258, 52%, 76%)
CMYKcmyk(36.3%, 51.8%, 0%, 24.3%)
CIE-LABlab(46.83, 34.81, -48.37)
CIE-LCHlch(46.83, 59.59, 305.74°)
OKLaboklab(55.6% 0.0634 -0.1368)
OKLCHoklch(55.6% 0.151 294.9)
XYZxyz(21.7059, 15.8895, 52.3651)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5DC1 #A3C15D
analogous
#5D71C1 #7B5DC1 #AD5DC1
triadic
#7B5DC1 #C17B5D #5DC17B
tetradic
#7B5DC1 #C15D71 #A3C15D #5DC1AD
square
#7B5DC1 #C15D71 #A3C15D #5DC1AD
split-complementary
#7B5DC1 #C1AD5D #71C15D
monochromatic
#432D76 #5C3EA3 #7B5DC1 #9F89D2 #C3B6E3

Accessibility & contrast

On white

5.03
#7B5DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7B5DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B5DC1
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5DC1#FFFFFF#000000##FFFFFF
##7B5DC11.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3570C4
Deuteranopia (green-blind)
#3C6DBF
Tritanopia (blue-blind)
#6A7186
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7b5dc1;
/* rgb */ color: rgb(123, 93, 193);
/* oklch */ color: oklch(55.6% 0.151 294.9);
Tailwind
colors: {
  custom: {
    50: '#a58bd4',
    500: '#7b5dc1',
    950: '#000000',
  },
}
SCSS
$custom: #7b5dc1;
$custom-light: #a58bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5dc1",
  "rgb": {
    "r": 123,
    "g": 93,
    "b": 193
  },
  "hsl": {
    "h": 258,
    "s": 44.643,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55597,
    "c": 0.15081,
    "h": 294.9
  },
  "luminance": 0.1589
}

Semantic roles & 50–950 ramp

primary
#7B5DC1
secondary
#C5D2A8
accent
#D453AE
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7B5DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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