#7B368D#7B368D

#7B368D is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.3% C 0.150 H 318.8°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7B368D
RGBrgb(123, 54, 141)
HSLhsl(288, 45%, 38%)
HSVhsv(288, 62%, 55%)
CMYKcmyk(12.8%, 61.7%, 0%, 44.7%)
CIE-LABlab(35.54, 43.73, -35.43)
CIE-LCHlch(35.54, 56.28, 320.99°)
OKLaboklab(46.3% 0.1131 -0.0988)
OKLCHoklch(46.3% 0.15 318.8)
XYZxyz(14.2946, 8.7730, 26.1345)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B368D #488D36
analogous
#4F368D #7B368D #8D3673
triadic
#7B368D #8D7B36 #368D7B
tetradic
#7B368D #8D4F36 #488D36 #36738D
square
#7B368D #8D4F36 #488D36 #36738D
split-complementary
#7B368D #738D36 #368D4F
monochromatic
#2E1434 #542561 #7B368D #A147B9 #B874CA

Accessibility & contrast

On white

7.62
#7B368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7B368D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B368D
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B368D#FFFFFF#000000##FFFFFF
##7B368D1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204F90
Deuteranopia (green-blind)
#3B568B
Tritanopia (blue-blind)
#7B445C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7b368d;
/* rgb */ color: rgb(123, 54, 141);
/* oklch */ color: oklch(46.3% 0.150 318.8);
Tailwind
colors: {
  custom: {
    50: '#a471af',
    500: '#7b368d',
    950: '#000000',
  },
}
SCSS
$custom: #7b368d;
$custom-light: #a471af;
$custom-dark: #000000;
JSON
{
  "hex": "#7b368d",
  "rgb": {
    "r": 123,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 287.586,
    "s": 44.615,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46301,
    "c": 0.15018,
    "h": 318.8
  },
  "luminance": 0.08772
}

Semantic roles & 50–950 ramp

primary
#7B368D
secondary
#7BB26D
accent
#D4536E
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7B368D

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

Preview Lab → · Contrast checker → · Palette generator →

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