#751E96#751E96

#751E96 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.5% C 0.187 H 314.4°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#751E96
RGBrgb(117, 30, 150)
HSLhsl(284, 67%, 35%)
HSVhsv(284, 80%, 59%)
CMYKcmyk(22%, 80%, 0%, 41.2%)
CIE-LABlab(31.61, 54.41, -47.31)
CIE-LCHlch(31.61, 72.10, 318.99°)
OKLaboklab(43.49% 0.1308 -0.1337)
OKLCHoklch(43.49% 0.187 314.4)
XYZxyz(13.3045, 6.9129, 29.4817)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751E96 #3F961E
analogous
#391E96 #751E96 #961E7B
triadic
#751E96 #96751E #1E9675
tetradic
#751E96 #96391E #3F961E #1E7B96
square
#751E96 #96391E #3F961E #1E7B96
split-complementary
#751E96 #7B961E #1E9639
monochromatic
#250A30 #4D1463 #751E96 #9D28C9 #B652DC

Accessibility & contrast

On white

8.81
#751E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#751E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751E96
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751E96#FFFFFF#000000##FFFFFF
##751E961.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#144C94
Tritanopia (blue-blind)
#723B5A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #751e96;
/* rgb */ color: rgb(117, 30, 150);
/* oklch */ color: oklch(43.5% 0.187 314.4);
Tailwind
colors: {
  custom: {
    50: '#a165b6',
    500: '#751e96',
    950: '#000000',
  },
}
SCSS
$custom: #751e96;
$custom-light: #a165b6;
$custom-dark: #000000;
JSON
{
  "hex": "#751e96",
  "rgb": {
    "r": 117,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 283.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43487,
    "c": 0.18701,
    "h": 314.4
  },
  "luminance": 0.06912
}

Semantic roles & 50–950 ramp

primary
#751E96
secondary
#6FBF50
accent
#EA3E6D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #751E96

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

Preview Lab → · Contrast checker → · Palette generator →

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