#7B4CC0#7B4CC0

#7B4CC0 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.8% C 0.175 H 299.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7B4CC0
RGBrgb(123, 76, 192)
HSLhsl(264, 48%, 53%)
HSVhsv(264, 60%, 75%)
CMYKcmyk(35.9%, 60.4%, 0%, 24.7%)
CIE-LABlab(43.04, 44.21, -53.87)
CIE-LCHlch(43.04, 69.69, 309.38°)
OKLaboklab(52.79% 0.0847 -0.153)
OKLCHoklch(52.79% 0.175 299)
XYZxyz(20.2649, 13.1854, 51.3363)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4CC0 #91C04C
analogous
#4C57C0 #7B4CC0 #B54CC0
triadic
#7B4CC0 #C07B4C #4CC07B
tetradic
#7B4CC0 #C04C57 #91C04C #4CC0B5
square
#7B4CC0 #C04C57 #91C04C #4CC0B5
split-complementary
#7B4CC0 #C0B54C #57C04C
monochromatic
#42266C #5E3699 #7B4CC0 #9C79D0 #BEA7E0

Accessibility & contrast

On white

5.77
#7B4CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7B4CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4CC0
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4CC0#FFFFFF#000000##FFFFFF
##7B4CC01.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C4
Deuteranopia (green-blind)
#2065BD
Tritanopia (blue-blind)
#6C657F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b4cc0;
/* rgb */ color: rgb(123, 76, 192);
/* oklch */ color: oklch(52.8% 0.175 299.0);
Tailwind
colors: {
  custom: {
    50: '#a680d4',
    500: '#7b4cc0',
    950: '#000000',
  },
}
SCSS
$custom: #7b4cc0;
$custom-light: #a680d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4cc0",
  "rgb": {
    "r": 123,
    "g": 76,
    "b": 192
  },
  "hsl": {
    "h": 264.31,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52786,
    "c": 0.17484,
    "h": 299
  },
  "luminance": 0.13186
}

Semantic roles & 50–950 ramp

primary
#7B4CC0
secondary
#B9CD9B
accent
#D850A1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7B4CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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