#7B358B#7B358B

#7B358B is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.0% C 0.150 H 319.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#7B358B
RGBrgb(123, 53, 139)
HSLhsl(289, 45%, 38%)
HSVhsv(289, 62%, 55%)
CMYKcmyk(11.5%, 61.9%, 0%, 45.5%)
CIE-LABlab(35.25, 43.80, -34.67)
CIE-LCHlch(35.25, 55.86, 321.64°)
OKLaboklab(46.05% 0.1143 -0.0966)
OKLCHoklch(46.05% 0.15 319.8)
XYZxyz(14.1011, 8.6219, 25.3425)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B358B #458B35
analogous
#50358B #7B358B #8B3570
triadic
#7B358B #8B7B35 #358B7B
tetradic
#7B358B #8B5035 #458B35 #35708B
square
#7B358B #8B5035 #458B35 #35708B
split-complementary
#7B358B #708B35 #358B50
monochromatic
#2D1332 #54245F #7B358B #A246B7 #B971C9

Accessibility & contrast

On white

7.71
#7B358B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7B358B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B358B
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B358B#FFFFFF#000000##FFFFFF
##7B358B1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204E8E
Deuteranopia (green-blind)
#3C5589
Tritanopia (blue-blind)
#7B435B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7b358b;
/* rgb */ color: rgb(123, 53, 139);
/* oklch */ color: oklch(46.0% 0.150 319.8);
Tailwind
colors: {
  custom: {
    50: '#a471ad',
    500: '#7b358b',
    950: '#000000',
  },
}
SCSS
$custom: #7b358b;
$custom-light: #a471ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7b358b",
  "rgb": {
    "r": 123,
    "g": 53,
    "b": 139
  },
  "hsl": {
    "h": 288.837,
    "s": 44.792,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46047,
    "c": 0.14969,
    "h": 319.8
  },
  "luminance": 0.08621
}

Semantic roles & 50–950 ramp

primary
#7B358B
secondary
#78B16A
accent
#D4536B
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7B358B

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

Preview Lab → · Contrast checker → · Palette generator →

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