#7B367E#7B367E

#7B367E is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.4% C 0.135 H 325.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#7B367E
RGBrgb(123, 54, 126)
HSLhsl(298, 40%, 35%)
HSVhsv(298, 57%, 49%)
CMYKcmyk(2.4%, 57.1%, 0%, 50.6%)
CIE-LABlab(34.71, 40.68, -27.47)
CIE-LCHlch(34.71, 49.09, 325.97°)
OKLaboklab(45.43% 0.1119 -0.0758)
OKLCHoklch(45.43% 0.135 325.9)
XYZxyz(13.2532, 8.3564, 20.6495)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B367E #397E36
analogous
#57367E #7B367E #7E365D
triadic
#7B367E #7E7B36 #367E7B
tetradic
#7B367E #7E5736 #397E36 #365D7E
square
#7B367E #7E5736 #397E36 #365D7E
split-complementary
#7B367E #5D7E36 #367E57
monochromatic
#271128 #512453 #7B367E #A548A9 #BD6EC1

Accessibility & contrast

On white

7.86
#7B367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B367E
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B367E#FFFFFF#000000##FFFFFF
##7B367E1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C80
Deuteranopia (green-blind)
#43557C
Tritanopia (blue-blind)
#7E3F55
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7b367e;
/* rgb */ color: rgb(123, 54, 126);
/* oklch */ color: oklch(45.4% 0.135 325.9);
Tailwind
colors: {
  custom: {
    50: '#a371a3',
    500: '#7b367e',
    950: '#000000',
  },
}
SCSS
$custom: #7b367e;
$custom-light: #a371a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b367e",
  "rgb": {
    "r": 123,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 297.5,
    "s": 40,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45427,
    "c": 0.13515,
    "h": 325.9
  },
  "luminance": 0.08356
}

Semantic roles & 50–950 ramp

primary
#7B367E
secondary
#69A967
accent
#D0585D
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #7B367E

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

Preview Lab → · Contrast checker → · Palette generator →

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