#751A87#751A87

#751A87 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.178 H 320.2°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#751A87
RGBrgb(117, 26, 135)
HSLhsl(290, 68%, 32%)
HSVhsv(290, 81%, 53%)
CMYKcmyk(13.3%, 80.7%, 0%, 47.1%)
CIE-LABlab(30.09, 52.73, -40.50)
CIE-LCHlch(30.09, 66.49, 322.48°)
OKLaboklab(42.08% 0.1366 -0.1137)
OKLCHoklch(42.08% 0.178 320.2)
XYZxyz(12.0782, 6.2706, 23.4911)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751A87 #2C871A
analogous
#3F1A87 #751A87 #871A63
triadic
#751A87 #87751A #1A8775
tetradic
#751A87 #873F1A #2C871A #1A6387
square
#751A87 #873F1A #2C871A #1A6387
split-complementary
#751A87 #63871A #1A873F
monochromatic
#1C0620 #491054 #751A87 #A124BA #C141DA

Accessibility & contrast

On white

9.32
#751A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#751A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751A87
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751A87#FFFFFF#000000##FFFFFF
##751A871.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#264A85
Tritanopia (blue-blind)
#753251
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #751a87;
/* rgb */ color: rgb(117, 26, 135);
/* oklch */ color: oklch(42.1% 0.178 320.2);
Tailwind
colors: {
  custom: {
    50: '#a063aa',
    500: '#751a87',
    950: '#000000',
  },
}
SCSS
$custom: #751a87;
$custom-light: #a063aa;
$custom-dark: #000000;
JSON
{
  "hex": "#751a87",
  "rgb": {
    "r": 117,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 290.092,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42075,
    "c": 0.17767,
    "h": 320.2
  },
  "luminance": 0.0627
}

Semantic roles & 50–950 ramp

primary
#751A87
secondary
#56BA42
accent
#EB3D5A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751A87

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

Preview Lab → · Contrast checker → · Palette generator →

#751A87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva