#7B5FC0#7B5FC0

#7B5FC0 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 55.9% C 0.146 H 294.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7B5FC0
RGBrgb(123, 95, 192)
HSLhsl(257, 43%, 56%)
HSVhsv(257, 51%, 75%)
CMYKcmyk(35.9%, 50.5%, 0%, 24.7%)
CIE-LABlab(47.24, 33.36, -47.14)
CIE-LCHlch(47.24, 57.75, 305.29°)
OKLaboklab(55.88% 0.0607 -0.1332)
OKLCHoklch(55.88% 0.146 294.5)
XYZxyz(21.7726, 16.2007, 51.8389)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5FC0 #A4C05F
analogous
#5F74C0 #7B5FC0 #AC5FC0
triadic
#7B5FC0 #C07B5F #5FC07B
tetradic
#7B5FC0 #C05F74 #A4C05F #5FC0AC
square
#7B5FC0 #C05F74 #A4C05F #5FC0AC
split-complementary
#7B5FC0 #C0AC5F #74C05F
monochromatic
#432F76 #5C40A2 #7B5FC0 #9F8BD1 #C3B7E3

Accessibility & contrast

On white

4.95
#7B5FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7B5FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B5FC0
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5FC0#FFFFFF#000000##FFFFFF
##7B5FC01.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A71C3
Deuteranopia (green-blind)
#406EBE
Tritanopia (blue-blind)
#6B7286
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b5fc0;
/* rgb */ color: rgb(123, 95, 192);
/* oklch */ color: oklch(55.9% 0.146 294.5);
Tailwind
colors: {
  custom: {
    50: '#a48dd3',
    500: '#7b5fc0',
    950: '#000000',
  },
}
SCSS
$custom: #7b5fc0;
$custom-light: #a48dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5fc0",
  "rgb": {
    "r": 123,
    "g": 95,
    "b": 192
  },
  "hsl": {
    "h": 257.32,
    "s": 43.498,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55881,
    "c": 0.14642,
    "h": 294.5
  },
  "luminance": 0.16201
}

Semantic roles & 50–950 ramp

primary
#7B5FC0
secondary
#C6D1A9
accent
#D355AF
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7B5FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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