#7B4FC2#7B4FC2

#7B4FC2 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.4% C 0.173 H 297.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7B4FC2
RGBrgb(123, 79, 194)
HSLhsl(263, 49%, 54%)
HSVhsv(263, 59%, 76%)
CMYKcmyk(36.6%, 59.3%, 0%, 23.9%)
CIE-LABlab(43.80, 43.08, -53.81)
CIE-LCHlch(43.80, 68.93, 308.68°)
OKLaboklab(53.38% 0.081 -0.1528)
OKLCHoklch(53.38% 0.173 297.9)
XYZxyz(20.6995, 13.6977, 52.5818)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FC2 #96C24F
analogous
#4F5CC2 #7B4FC2 #B54FC2
triadic
#7B4FC2 #C27B4F #4FC27B
tetradic
#7B4FC2 #C24F5C #96C24F #4FC2B5
square
#7B4FC2 #C24F5C #96C24F #4FC2B5
split-complementary
#7B4FC2 #C2B54F #5CC24F
monochromatic
#432770 #5E379D #7B4FC2 #9D7CD2 #BFAAE2

Accessibility & contrast

On white

5.62
#7B4FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7B4FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FC2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FC2#FFFFFF#000000##FFFFFF
##7B4FC21.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0668C6
Deuteranopia (green-blind)
#2366BF
Tritanopia (blue-blind)
#6B6781
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b4fc2;
/* rgb */ color: rgb(123, 79, 194);
/* oklch */ color: oklch(53.4% 0.173 297.9);
Tailwind
colors: {
  custom: {
    50: '#a682d5',
    500: '#7b4fc2',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fc2;
$custom-light: #a682d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fc2",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 262.957,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53379,
    "c": 0.17295,
    "h": 297.9
  },
  "luminance": 0.13698
}

Semantic roles & 50–950 ramp

primary
#7B4FC2
secondary
#BCCF9E
accent
#D850A4
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7B4FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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