#7B368B#7B368B

#7B368B is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.2% C 0.148 H 319.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#7B368B
RGBrgb(123, 54, 139)
HSLhsl(289, 44%, 38%)
HSVhsv(289, 61%, 55%)
CMYKcmyk(11.5%, 61.2%, 0%, 45.5%)
CIE-LABlab(35.43, 43.31, -34.38)
CIE-LCHlch(35.43, 55.30, 321.56°)
OKLaboklab(46.18% 0.113 -0.0958)
OKLCHoklch(46.18% 0.148 319.7)
XYZxyz(14.1472, 8.7140, 25.3579)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B368B #468B36
analogous
#51368B #7B368B #8B3670
triadic
#7B368B #8B7B36 #368B7B
tetradic
#7B368B #8B5136 #468B36 #36708B
square
#7B368B #8B5136 #468B36 #36708B
split-complementary
#7B368B #708B36 #368B51
monochromatic
#2D1433 #54255F #7B368B #A247B7 #B873C9

Accessibility & contrast

On white

7.66
#7B368B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7B368B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B368B
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B368B#FFFFFF#000000##FFFFFF
##7B368B1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224F8E
Deuteranopia (green-blind)
#3C5689
Tritanopia (blue-blind)
#7B435B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7b368b;
/* rgb */ color: rgb(123, 54, 139);
/* oklch */ color: oklch(46.2% 0.148 319.7);
Tailwind
colors: {
  custom: {
    50: '#a471ad',
    500: '#7b368b',
    950: '#000000',
  },
}
SCSS
$custom: #7b368b;
$custom-light: #a471ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7b368b",
  "rgb": {
    "r": 123,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 288.706,
    "s": 44.041,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46179,
    "c": 0.14814,
    "h": 319.7
  },
  "luminance": 0.08713
}

Semantic roles & 50–950 ramp

primary
#7B368B
secondary
#79B16C
accent
#D4546C
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7B368B

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

Preview Lab → · Contrast checker → · Palette generator →

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