#751EB1#751EB1

#751EB1 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.6% C 0.212 H 305.9°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#751EB1
RGBrgb(117, 30, 177)
HSLhsl(276, 71%, 41%)
HSVhsv(276, 83%, 69%)
CMYKcmyk(33.9%, 83.1%, 0%, 30.6%)
CIE-LABlab(33.74, 60.14, -60.15)
CIE-LCHlch(33.74, 85.05, 314.99°)
OKLaboklab(45.64% 0.1241 -0.1714)
OKLCHoklch(45.64% 0.212 305.9)
XYZxyz(15.7344, 7.8849, 42.2795)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751EB1 #5AB11E
analogous
#2B1EB1 #751EB1 #B11EA3
triadic
#751EB1 #B1751E #1EB175
tetradic
#751EB1 #B12B1E #5AB11E #1EA3B1
square
#751EB1 #B12B1E #5AB11E #1EA3B1
split-complementary
#751EB1 #A3B11E #1EB12B
monochromatic
#300C48 #52157D #751EB1 #9630DC #B065E5

Accessibility & contrast

On white

8.15
#751EB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#751EB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751EB1
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751EB1#FFFFFF#000000##FFFFFF
##751EB11.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#6A476A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #751eb1;
/* rgb */ color: rgb(117, 30, 177);
/* oklch */ color: oklch(45.6% 0.212 305.9);
Tailwind
colors: {
  custom: {
    50: '#a367c9',
    500: '#751eb1',
    950: '#000000',
  },
}
SCSS
$custom: #751eb1;
$custom-light: #a367c9;
$custom-dark: #000000;
JSON
{
  "hex": "#751eb1",
  "rgb": {
    "r": 117,
    "g": 30,
    "b": 177
  },
  "hsl": {
    "h": 275.51,
    "s": 71.014,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45643,
    "c": 0.21161,
    "h": 305.9
  },
  "luminance": 0.07885
}

Semantic roles & 50–950 ramp

primary
#751EB1
secondary
#8CCA61
accent
#EE3A83
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #751EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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