#751E9C#751E9C

#751E9C is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.9% C 0.192 H 312.3°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#751E9C
RGBrgb(117, 30, 156)
HSLhsl(281, 68%, 36%)
HSVhsv(281, 81%, 61%)
CMYKcmyk(25%, 80.8%, 0%, 38.8%)
CIE-LABlab(32.06, 55.65, -50.24)
CIE-LCHlch(32.06, 74.97, 317.92°)
OKLaboklab(43.95% 0.1296 -0.1423)
OKLCHoklch(43.95% 0.192 312.3)
XYZxyz(13.8000, 7.1112, 32.0917)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751E9C #459C1E
analogous
#361E9C #751E9C #9C1E84
triadic
#751E9C #9C751E #1E9C75
tetradic
#751E9C #9C361E #459C1E #1E849C
square
#751E9C #9C361E #459C1E #1E849C
split-complementary
#751E9C #849C1E #1E9C36
monochromatic
#280A35 #4F1469 #751E9C #9B28CF #B456DE

Accessibility & contrast

On white

8.67
#751E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#751E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751E9C
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751E9C#FFFFFF#000000##FFFFFF
##751E9C1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#024D99
Tritanopia (blue-blind)
#703D5E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #751e9c;
/* rgb */ color: rgb(117, 30, 156);
/* oklch */ color: oklch(43.9% 0.192 312.3);
Tailwind
colors: {
  custom: {
    50: '#a165ba',
    500: '#751e9c',
    950: '#000000',
  },
}
SCSS
$custom: #751e9c;
$custom-light: #a165ba;
$custom-dark: #000000;
JSON
{
  "hex": "#751e9c",
  "rgb": {
    "r": 117,
    "g": 30,
    "b": 156
  },
  "hsl": {
    "h": 281.429,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43946,
    "c": 0.19243,
    "h": 312.3
  },
  "luminance": 0.07111
}

Semantic roles & 50–950 ramp

primary
#751E9C
secondary
#76C254
accent
#EB3D73
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #751E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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