#7B4CCF#7B4CCF

#7B4CCF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.193 H 295.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7B4CCF
RGBrgb(123, 76, 207)
HSLhsl(262, 58%, 55%)
HSVhsv(262, 63%, 81%)
CMYKcmyk(40.6%, 63.3%, 0%, 18.8%)
CIE-LABlab(44.07, 48.14, -60.90)
CIE-LCHlch(44.07, 77.63, 308.33°)
OKLaboklab(53.86% 0.0837 -0.1736)
OKLCHoklch(53.86% 0.193 295.7)
XYZxyz(22.0123, 13.8844, 60.5396)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4CCF #A0CF4C
analogous
#4C5ECF #7B4CCF #BD4CCF
triadic
#7B4CCF #CF7B4C #4CCF7B
tetradic
#7B4CCF #CF4C5E #A0CF4C #4CCFBD
square
#7B4CCF #CF4C5E #A0CF4C #4CCFBD
split-complementary
#7B4CCF #CFBD4C #5ECF4C
monochromatic
#43227F #5D2FAF #7B4CCF #9F7CDC #C2ADE9

Accessibility & contrast

On white

5.56
#7B4CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7B4CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4CCF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4CCF#FFFFFF#000000##FFFFFF
##7B4CCF1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#666A87
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b4ccf;
/* rgb */ color: rgb(123, 76, 207);
/* oklch */ color: oklch(53.9% 0.193 295.7);
Tailwind
colors: {
  custom: {
    50: '#a780de',
    500: '#7b4ccf',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ccf;
$custom-light: #a780de;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ccf",
  "rgb": {
    "r": 123,
    "g": 76,
    "b": 207
  },
  "hsl": {
    "h": 261.527,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53857,
    "c": 0.19277,
    "h": 295.7
  },
  "luminance": 0.13885
}

Semantic roles & 50–950 ramp

primary
#7B4CCF
secondary
#C3D7A0
accent
#E147AA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B4CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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