#7B367D#7B367D

#7B367D is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.4% C 0.134 H 326.4°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#7B367D
RGBrgb(123, 54, 125)
HSLhsl(298, 40%, 35%)
HSVhsv(298, 57%, 49%)
CMYKcmyk(1.6%, 56.8%, 0%, 51%)
CIE-LABlab(34.66, 40.49, -26.93)
CIE-LCHlch(34.66, 48.62, 326.37°)
OKLaboklab(45.37% 0.1118 -0.0742)
OKLCHoklch(45.37% 0.134 326.4)
XYZxyz(13.1890, 8.3307, 20.3114)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B367D #387D36
analogous
#58367D #7B367D #7D365B
triadic
#7B367D #7D7B36 #367D7B
tetradic
#7B367D #7D5836 #387D36 #365B7D
square
#7B367D #7D5836 #387D36 #365B7D
split-complementary
#7B367D #5B7D36 #367D58
monochromatic
#271128 #512452 #7B367D #A548A8 #BE6DC0

Accessibility & contrast

On white

7.88
#7B367D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7B367D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B367D
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B367D#FFFFFF#000000##FFFFFF
##7B367D1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C7F
Deuteranopia (green-blind)
#44557B
Tritanopia (blue-blind)
#7E3F54
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7b367d;
/* rgb */ color: rgb(123, 54, 125);
/* oklch */ color: oklch(45.4% 0.134 326.4);
Tailwind
colors: {
  custom: {
    50: '#a371a3',
    500: '#7b367d',
    950: '#000000',
  },
}
SCSS
$custom: #7b367d;
$custom-light: #a371a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b367d",
  "rgb": {
    "r": 123,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 298.31,
    "s": 39.665,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45372,
    "c": 0.13418,
    "h": 326.4
  },
  "luminance": 0.0833
}

Semantic roles & 50–950 ramp

primary
#7B367D
secondary
#68A966
accent
#D0585C
background
#FAF7FA
surface
#F4EDF3
border
#CEC8CD
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #7B367D

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

Preview Lab → · Contrast checker → · Palette generator →

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