#7B3183#7B3183

#7B3183 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.1% C 0.148 H 323.7°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7B3183
RGBrgb(123, 49, 131)
HSLhsl(294, 46%, 35%)
HSVhsv(294, 63%, 51%)
CMYKcmyk(6.1%, 62.6%, 0%, 48.6%)
CIE-LABlab(34.08, 44.13, -31.58)
CIE-LCHlch(34.08, 54.26, 324.41°)
OKLaboklab(45.05% 0.1192 -0.0876)
OKLCHoklch(45.05% 0.148 323.7)
XYZxyz(13.3631, 8.0470, 22.3177)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3183 #398331
analogous
#523183 #7B3183 #833162
triadic
#7B3183 #837B31 #31837B
tetradic
#7B3183 #835231 #398331 #316283
square
#7B3183 #835231 #398331 #316283
split-complementary
#7B3183 #628331 #318352
monochromatic
#27102A #512056 #7B3183 #A542B0 #BD68C6

Accessibility & contrast

On white

8.05
#7B3183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7B3183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B3183
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3183#FFFFFF#000000##FFFFFF
##7B31831.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224A86
Deuteranopia (green-blind)
#3E5381
Tritanopia (blue-blind)
#7D3D55
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b3183;
/* rgb */ color: rgb(123, 49, 131);
/* oklch */ color: oklch(45.1% 0.148 323.7);
Tailwind
colors: {
  custom: {
    50: '#a46ea7',
    500: '#7b3183',
    950: '#000000',
  },
}
SCSS
$custom: #7b3183;
$custom-light: #a46ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3183",
  "rgb": {
    "r": 123,
    "g": 49,
    "b": 131
  },
  "hsl": {
    "h": 294.146,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45052,
    "c": 0.14792,
    "h": 323.7
  },
  "luminance": 0.08046
}

Semantic roles & 50–950 ramp

primary
#7B3183
secondary
#69AE62
accent
#D5535F
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #7B3183

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

Preview Lab → · Contrast checker → · Palette generator →

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