#7B4FC7#7B4FC7

#7B4FC7 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.7% C 0.179 H 296.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7B4FC7
RGBrgb(123, 79, 199)
HSLhsl(262, 52%, 55%)
HSVhsv(262, 60%, 78%)
CMYKcmyk(38.2%, 60.3%, 0%, 22%)
CIE-LABlab(44.13, 44.40, -56.18)
CIE-LCHlch(44.13, 71.61, 308.32°)
OKLaboklab(53.73% 0.0808 -0.1598)
OKLCHoklch(53.73% 0.179 296.8)
XYZxyz(21.2705, 13.9261, 55.5891)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FC7 #9BC74F
analogous
#4F5FC7 #7B4FC7 #B74FC7
triadic
#7B4FC7 #C77B4F #4FC77B
tetradic
#7B4FC7 #C74F5F #9BC74F #4FC7B7
square
#7B4FC7 #C74F5F #9BC74F #4FC7B7
split-complementary
#7B4FC7 #C7B74F #5FC74F
monochromatic
#432676 #5D34A4 #7B4FC7 #9E7DD6 #C1ACE5

Accessibility & contrast

On white

5.55
#7B4FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7B4FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FC7
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FC7#FFFFFF#000000##FFFFFF
##7B4FC71.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#1967C4
Tritanopia (blue-blind)
#696983
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b4fc7;
/* rgb */ color: rgb(123, 79, 199);
/* oklch */ color: oklch(53.7% 0.179 296.8);
Tailwind
colors: {
  custom: {
    50: '#a682d9',
    500: '#7b4fc7',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fc7;
$custom-light: #a682d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fc7",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 262,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53726,
    "c": 0.17905,
    "h": 296.8
  },
  "luminance": 0.13926
}

Semantic roles & 50–950 ramp

primary
#7B4FC7
secondary
#C0D2A0
accent
#DB4DA7
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7B4FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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