#7B4E92#7B4E92

#7B4E92 is a mid, moderate violet. Relative luminance 0.117; OKLCH L 50.3% C 0.115 H 313.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7B4E92
RGBrgb(123, 78, 146)
HSLhsl(280, 30%, 44%)
HSVhsv(280, 47%, 57%)
CMYKcmyk(15.8%, 46.6%, 0%, 42.7%)
CIE-LABlab(40.79, 31.74, -30.18)
CIE-LCHlch(40.79, 43.80, 316.45°)
OKLaboklab(50.26% 0.0791 -0.0838)
OKLCHoklch(50.26% 0.115 313.4)
XYZxyz(16.0802, 11.7354, 28.6066)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4E92 #65924E
analogous
#594E92 #7B4E92 #924E87
triadic
#7B4E92 #927B4E #4E927B
tetradic
#7B4E92 #92594E #65924E #4E8792
square
#7B4E92 #92594E #65924E #4E8792
split-complementary
#7B4E92 #87924E #4E9259
monochromatic
#382342 #59396A #7B4E92 #9A6CB1 #B594C6

Accessibility & contrast

On white

6.27
#7B4E92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7B4E92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4E92
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4E92#FFFFFF#000000##FFFFFF
##7B4E921.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405E94
Deuteranopia (green-blind)
#4C6190
Tritanopia (blue-blind)
#795869
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7b4e92;
/* rgb */ color: rgb(123, 78, 146);
/* oklch */ color: oklch(50.3% 0.115 313.4);
Tailwind
colors: {
  custom: {
    50: '#a281b2',
    500: '#7b4e92',
    950: '#000000',
  },
}
SCSS
$custom: #7b4e92;
$custom-light: #a281b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4e92",
  "rgb": {
    "r": 123,
    "g": 78,
    "b": 146
  },
  "hsl": {
    "h": 279.706,
    "s": 30.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5026,
    "c": 0.11523,
    "h": 313.4
  },
  "luminance": 0.11735
}

Semantic roles & 50–950 ramp

primary
#7B4E92
secondary
#97B389
accent
#C76184
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #7B4E92

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

Preview Lab → · Contrast checker → · Palette generator →

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