#7B4FCF#7B4FCF

#7B4FCF is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.3% C 0.189 H 295.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7B4FCF
RGBrgb(123, 79, 207)
HSLhsl(261, 57%, 56%)
HSVhsv(261, 62%, 81%)
CMYKcmyk(40.6%, 61.8%, 0%, 18.8%)
CIE-LABlab(44.67, 46.52, -59.92)
CIE-LCHlch(44.67, 75.86, 307.83°)
OKLaboklab(54.3% 0.0804 -0.1708)
OKLCHoklch(54.3% 0.189 295.2)
XYZxyz(22.2239, 14.3074, 60.6101)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FCF #A3CF4F
analogous
#4F63CF #7B4FCF #BB4FCF
triadic
#7B4FCF #CF7B4F #4FCF7B
tetradic
#7B4FCF #CF4F63 #A3CF4F #4FCFBB
square
#7B4FCF #CF4F63 #A3CF4F #4FCFBB
split-complementary
#7B4FCF #CFBB4F #63CF4F
monochromatic
#432381 #5C30B1 #7B4FCF #9F7FDC #C3AFE9

Accessibility & contrast

On white

5.44
#7B4FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7B4FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FCF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FCF#FFFFFF#000000##FFFFFF
##7B4FCF1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#656C88
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b4fcf;
/* rgb */ color: rgb(123, 79, 207);
/* oklch */ color: oklch(54.3% 0.189 295.2);
Tailwind
colors: {
  custom: {
    50: '#a782de',
    500: '#7b4fcf',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fcf;
$custom-light: #a782de;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fcf",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 260.625,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54295,
    "c": 0.18875,
    "h": 295.2
  },
  "luminance": 0.14308
}

Semantic roles & 50–950 ramp

primary
#7B4FCF
secondary
#C5D7A2
accent
#E047AC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7B4FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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