#7B358D#7B358D

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

Color values

HEX#7B358D
RGBrgb(123, 53, 141)
HSLhsl(288, 45%, 38%)
HSVhsv(288, 62%, 55%)
CMYKcmyk(12.8%, 62.4%, 0%, 44.7%)
CIE-LABlab(35.36, 44.22, -35.71)
CIE-LCHlch(35.36, 56.84, 321.08°)
OKLaboklab(46.17% 0.1144 -0.0997)
OKLCHoklch(46.17% 0.152 318.9)
XYZxyz(14.2486, 8.6809, 26.1192)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B358D #478D35
analogous
#4F358D #7B358D #8D3573
triadic
#7B358D #8D7B35 #358D7B
tetradic
#7B358D #8D4F35 #478D35 #35738D
square
#7B358D #8D4F35 #478D35 #35738D
split-complementary
#7B358D #738D35 #358D4F
monochromatic
#2D1434 #542461 #7B358D #A246B9 #B872CA

Accessibility & contrast

On white

7.68
#7B358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B358D
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B358D#FFFFFF#000000##FFFFFF
##7B358D1.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4E90
Deuteranopia (green-blind)
#3A568B
Tritanopia (blue-blind)
#7B435C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7b358d;
/* rgb */ color: rgb(123, 53, 141);
/* oklch */ color: oklch(46.2% 0.152 318.9);
Tailwind
colors: {
  custom: {
    50: '#a471af',
    500: '#7b358d',
    950: '#000000',
  },
}
SCSS
$custom: #7b358d;
$custom-light: #a471af;
$custom-dark: #000000;
JSON
{
  "hex": "#7b358d",
  "rgb": {
    "r": 123,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 287.727,
    "s": 45.361,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4617,
    "c": 0.15172,
    "h": 318.9
  },
  "luminance": 0.0868
}

Semantic roles & 50–950 ramp

primary
#7B358D
secondary
#7AB26B
accent
#D5536D
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7B358D

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

Preview Lab → · Contrast checker → · Palette generator →

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