#7B368E#7B368E

#7B368E is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.4% C 0.151 H 318.4°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7B368E
RGBrgb(123, 54, 142)
HSLhsl(287, 45%, 38%)
HSVhsv(287, 62%, 56%)
CMYKcmyk(13.4%, 62%, 0%, 44.3%)
CIE-LABlab(35.60, 43.94, -35.95)
CIE-LCHlch(35.60, 56.77, 320.71°)
OKLaboklab(46.36% 0.1131 -0.1004)
OKLCHoklch(46.36% 0.151 318.4)
XYZxyz(14.3694, 8.8029, 26.5282)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B368E #498E36
analogous
#4F368E #7B368E #8E3675
triadic
#7B368E #8E7B36 #368E7B
tetradic
#7B368E #8E4F36 #498E36 #36758E
square
#7B368E #8E4F36 #498E36 #36758E
split-complementary
#7B368E #758E36 #368E4F
monochromatic
#2E1435 #552562 #7B368E #A148B9 #B874CA

Accessibility & contrast

On white

7.61
#7B368E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7B368E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B368E
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B368E#FFFFFF#000000##FFFFFF
##7B368E1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F91
Deuteranopia (green-blind)
#3A568C
Tritanopia (blue-blind)
#7B455D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7b368e;
/* rgb */ color: rgb(123, 54, 142);
/* oklch */ color: oklch(46.4% 0.151 318.4);
Tailwind
colors: {
  custom: {
    50: '#a471af',
    500: '#7b368e',
    950: '#000000',
  },
}
SCSS
$custom: #7b368e;
$custom-light: #a471af;
$custom-dark: #000000;
JSON
{
  "hex": "#7b368e",
  "rgb": {
    "r": 123,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 287.045,
    "s": 44.898,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46363,
    "c": 0.15121,
    "h": 318.4
  },
  "luminance": 0.08802
}

Semantic roles & 50–950 ramp

primary
#7B368E
secondary
#7CB36D
accent
#D5536F
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7B368E

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

Preview Lab → · Contrast checker → · Palette generator →

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