#751E8C#751E8C

#751E8C is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.178 H 318.1°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#751E8C
RGBrgb(117, 30, 140)
HSLhsl(287, 65%, 33%)
HSVhsv(287, 79%, 55%)
CMYKcmyk(16.4%, 78.6%, 0%, 45.1%)
CIE-LABlab(30.89, 52.39, -42.31)
CIE-LCHlch(30.89, 67.34, 321.08°)
OKLaboklab(42.75% 0.1324 -0.119)
OKLCHoklch(42.75% 0.178 318.1)
XYZxyz(12.5333, 6.6045, 25.4205)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751E8C #358C1E
analogous
#3E1E8C #751E8C #8C1E6C
triadic
#751E8C #8C751E #1E8C75
tetradic
#751E8C #8C3E1E #358C1E #1E6C8C
square
#751E8C #8C3E1E #358C1E #1E6C8C
split-complementary
#751E8C #6C8C1E #1E8C3E
monochromatic
#210827 #4B135A #751E8C #9F29BE #BB4CD9

Accessibility & contrast

On white

9.05
#751E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#751E8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751E8C
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751E8C#FFFFFF#000000##FFFFFF
##751E8C1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#234B8A
Tritanopia (blue-blind)
#743654
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #751e8c;
/* rgb */ color: rgb(117, 30, 140);
/* oklch */ color: oklch(42.8% 0.178 318.1);
Tailwind
colors: {
  custom: {
    50: '#a165ae',
    500: '#751e8c',
    950: '#000000',
  },
}
SCSS
$custom: #751e8c;
$custom-light: #a165ae;
$custom-dark: #000000;
JSON
{
  "hex": "#751e8c",
  "rgb": {
    "r": 117,
    "g": 30,
    "b": 140
  },
  "hsl": {
    "h": 287.455,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42753,
    "c": 0.17804,
    "h": 318.1
  },
  "luminance": 0.06604
}

Semantic roles & 50–950 ramp

primary
#751E8C
secondary
#62BB4B
accent
#E84063
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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