#751E8E#751E8E

#751E8E is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.180 H 317.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#751E8E
RGBrgb(117, 30, 142)
HSLhsl(287, 65%, 34%)
HSVhsv(287, 79%, 56%)
CMYKcmyk(17.6%, 78.9%, 0%, 44.3%)
CIE-LABlab(31.03, 52.79, -43.32)
CIE-LCHlch(31.03, 68.28, 320.63°)
OKLaboklab(42.9% 0.1321 -0.122)
OKLCHoklch(42.9% 0.18 317.3)
XYZxyz(12.6822, 6.6640, 26.2042)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751E8E #378E1E
analogous
#3D1E8E #751E8E #8E1E6F
triadic
#751E8E #8E751E #1E8E75
tetradic
#751E8E #8E3D1E #378E1E #1E6F8E
square
#751E8E #8E3D1E #378E1E #1E6F8E
split-complementary
#751E8E #6F8E1E #1E8E3D
monochromatic
#220929 #4B135B #751E8E #9F29C1 #BA4DD9

Accessibility & contrast

On white

9.00
#751E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#751E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751E8E
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751E8E#FFFFFF#000000##FFFFFF
##751E8E1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#214C8C
Tritanopia (blue-blind)
#743756
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #751e8e;
/* rgb */ color: rgb(117, 30, 142);
/* oklch */ color: oklch(42.9% 0.180 317.3);
Tailwind
colors: {
  custom: {
    50: '#a165b0',
    500: '#751e8e',
    950: '#000000',
  },
}
SCSS
$custom: #751e8e;
$custom-light: #a165b0;
$custom-dark: #000000;
JSON
{
  "hex": "#751e8e",
  "rgb": {
    "r": 117,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 286.607,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42897,
    "c": 0.17983,
    "h": 317.3
  },
  "luminance": 0.06663
}

Semantic roles & 50–950 ramp

primary
#751E8E
secondary
#65BC4C
accent
#E84065
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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