#7B4FC0#7B4FC0

#7B4FC0 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.2% C 0.171 H 298.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7B4FC0
RGBrgb(123, 79, 192)
HSLhsl(263, 47%, 53%)
HSVhsv(263, 59%, 75%)
CMYKcmyk(35.9%, 58.9%, 0%, 24.7%)
CIE-LABlab(43.67, 42.56, -52.86)
CIE-LCHlch(43.67, 67.86, 308.84°)
OKLaboklab(53.24% 0.081 -0.15)
OKLCHoklch(53.24% 0.171 298.4)
XYZxyz(20.4764, 13.6084, 51.4068)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FC0 #94C04F
analogous
#4F5BC0 #7B4FC0 #B34FC0
triadic
#7B4FC0 #C07B4F #4FC07B
tetradic
#7B4FC0 #C04F5B #94C04F #4FC0B3
square
#7B4FC0 #C04F5B #94C04F #4FC0B3
split-complementary
#7B4FC0 #C0B34F #5BC04F
monochromatic
#43276D #5E379A #7B4FC0 #9D7CD0 #BFA9E0

Accessibility & contrast

On white

5.64
#7B4FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7B4FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FC0
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FC0#FFFFFF#000000##FFFFFF
##7B4FC01.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E67C4
Deuteranopia (green-blind)
#2766BD
Tritanopia (blue-blind)
#6B6780
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b4fc0;
/* rgb */ color: rgb(123, 79, 192);
/* oklch */ color: oklch(53.2% 0.171 298.4);
Tailwind
colors: {
  custom: {
    50: '#a582d4',
    500: '#7b4fc0',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fc0;
$custom-light: #a582d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fc0",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 263.363,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53242,
    "c": 0.1705,
    "h": 298.4
  },
  "luminance": 0.13609
}

Semantic roles & 50–950 ramp

primary
#7B4FC0
secondary
#BBCE9D
accent
#D751A3
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7B4FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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