#7B348E#7B348E

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

Color values

HEX#7B348E
RGBrgb(123, 52, 142)
HSLhsl(287, 46%, 38%)
HSVhsv(287, 63%, 56%)
CMYKcmyk(13.4%, 63.4%, 0%, 44.3%)
CIE-LABlab(35.24, 44.92, -36.52)
CIE-LCHlch(35.24, 57.89, 320.89°)
OKLaboklab(46.1% 0.1157 -0.102)
OKLCHoklch(46.1% 0.154 318.6)
XYZxyz(14.2782, 8.6205, 26.4978)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B348E #478E34
analogous
#4E348E #7B348E #8E3474
triadic
#7B348E #8E7B34 #348E7B
tetradic
#7B348E #8E4E34 #478E34 #34748E
square
#7B348E #8E4E34 #478E34 #34748E
split-complementary
#7B348E #748E34 #348E4E
monochromatic
#2D1334 #542461 #7B348E #A244BB #B871CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B348E#FFFFFF#000000##FFFFFF
##7B348E1.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)
#1B4E91
Deuteranopia (green-blind)
#39558C
Tritanopia (blue-blind)
#7B435C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7b348e;
/* rgb */ color: rgb(123, 52, 142);
/* oklch */ color: oklch(46.1% 0.154 318.6);
Tailwind
colors: {
  custom: {
    50: '#a470af',
    500: '#7b348e',
    950: '#000000',
  },
}
SCSS
$custom: #7b348e;
$custom-light: #a470af;
$custom-dark: #000000;
JSON
{
  "hex": "#7b348e",
  "rgb": {
    "r": 123,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 287.333,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46102,
    "c": 0.15425,
    "h": 318.6
  },
  "luminance": 0.0862
}

Semantic roles & 50–950 ramp

primary
#7B348E
secondary
#7AB36A
accent
#D6526E
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7B348E

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

Preview Lab → · Contrast checker → · Palette generator →

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