#7B4FB7#7B4FB7

#7B4FB7 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.6% C 0.159 H 300.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7B4FB7
RGBrgb(123, 79, 183)
HSLhsl(265, 42%, 51%)
HSVhsv(265, 57%, 72%)
CMYKcmyk(32.8%, 56.8%, 0%, 28.2%)
CIE-LABlab(43.10, 40.22, -48.52)
CIE-LCHlch(43.10, 63.03, 309.66°)
OKLaboklab(52.64% 0.081 -0.1373)
OKLCHoklch(52.64% 0.159 300.5)
XYZxyz(19.5096, 13.2217, 46.3148)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FB7 #8BB74F
analogous
#4F57B7 #7B4FB7 #AF4FB7
triadic
#7B4FB7 #B77B4F #4FB77B
tetradic
#7B4FB7 #B74F57 #8BB74F #4FB7AF
square
#7B4FB7 #B74F57 #8BB74F #4FB7AF
split-complementary
#7B4FB7 #B7AF4F #57B74F
monochromatic
#412963 #5E3A8F #7B4FB7 #9C7AC9 #BCA6DB

Accessibility & contrast

On white

5.76
#7B4FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B4FB7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FB7#FFFFFF#000000##FFFFFF
##7B4FB71.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2165BA
Deuteranopia (green-blind)
#3265B5
Tritanopia (blue-blind)
#6F647B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b4fb7;
/* rgb */ color: rgb(123, 79, 183);
/* oklch */ color: oklch(52.6% 0.159 300.5);
Tailwind
colors: {
  custom: {
    50: '#a582cd',
    500: '#7b4fb7',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fb7;
$custom-light: #a582cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fb7",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 183
  },
  "hsl": {
    "h": 265.385,
    "s": 41.935,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52641,
    "c": 0.15941,
    "h": 300.5
  },
  "luminance": 0.13222
}

Semantic roles & 50–950 ramp

primary
#7B4FB7
secondary
#B4C89A
accent
#D2569D
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7B4FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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