#7B2F86#7B2F86

#7B2F86 is a dark, vivid purple. Relative luminance 0.080; OKLCH L 45.0% C 0.154 H 322.4°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#7B2F86
RGBrgb(123, 47, 134)
HSLhsl(292, 48%, 35%)
HSVhsv(292, 65%, 53%)
CMYKcmyk(8.2%, 64.9%, 0%, 47.5%)
CIE-LABlab(33.91, 45.66, -33.70)
CIE-LCHlch(33.91, 56.75, 323.57°)
OKLaboklab(44.99% 0.1219 -0.0938)
OKLCHoklch(44.99% 0.154 322.4)
XYZxyz(13.4875, 7.9659, 23.3768)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2F86 #3A862F
analogous
#4F2F86 #7B2F86 #862F65
triadic
#7B2F86 #867B2F #2F867B
tetradic
#7B2F86 #864F2F #3A862F #2F6586
square
#7B2F86 #864F2F #3A862F #2F6586
split-complementary
#7B2F86 #65862F #2F864F
monochromatic
#280F2B #511F59 #7B2F86 #A53FB3 #BD66C9

Accessibility & contrast

On white

8.10
#7B2F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7B2F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2F86
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2F86#FFFFFF#000000##FFFFFF
##7B2F861.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4A89
Deuteranopia (green-blind)
#3A5384
Tritanopia (blue-blind)
#7D3D56
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b2f86;
/* rgb */ color: rgb(123, 47, 134);
/* oklch */ color: oklch(45.0% 0.154 322.4);
Tailwind
colors: {
  custom: {
    50: '#a46daa',
    500: '#7b2f86',
    950: '#000000',
  },
}
SCSS
$custom: #7b2f86;
$custom-light: #a46daa;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2f86",
  "rgb": {
    "r": 123,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 292.414,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44985,
    "c": 0.15379,
    "h": 322.4
  },
  "luminance": 0.07965
}

Semantic roles & 50–950 ramp

primary
#7B2F86
secondary
#6BB060
accent
#D85061
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7B2F86

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

Preview Lab → · Contrast checker → · Palette generator →

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