#751FA8#751FA8

#751FA8 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 45.0% C 0.202 H 308.4°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#751FA8
RGBrgb(117, 31, 168)
HSLhsl(278, 69%, 39%)
HSVhsv(278, 82%, 66%)
CMYKcmyk(30.4%, 81.5%, 0%, 34.1%)
CIE-LABlab(33.11, 57.86, -55.79)
CIE-LCHlch(33.11, 80.38, 316.05°)
OKLaboklab(44.98% 0.1259 -0.1586)
OKLCHoklch(44.98% 0.202 308.4)
XYZxyz(14.8925, 7.5893, 37.7185)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751FA8 #52A81F
analogous
#311FA8 #751FA8 #A81F97
triadic
#751FA8 #A8751F #1FA875
tetradic
#751FA8 #A8311F #52A81F #1F97A8
square
#751FA8 #A8311F #52A81F #1F97A8
split-complementary
#751FA8 #97A81F #1FA831
monochromatic
#2D0C41 #511574 #751FA8 #982CD8 #B160E2

Accessibility & contrast

On white

8.34
#751FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#751FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751FA8
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751FA8#FFFFFF#000000##FFFFFF
##751FA81.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#6D4365
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #751fa8;
/* rgb */ color: rgb(117, 31, 168);
/* oklch */ color: oklch(45.0% 0.202 308.4);
Tailwind
colors: {
  custom: {
    50: '#a266c3',
    500: '#751fa8',
    950: '#000000',
  },
}
SCSS
$custom: #751fa8;
$custom-light: #a266c3;
$custom-dark: #000000;
JSON
{
  "hex": "#751fa8",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 277.664,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44976,
    "c": 0.20248,
    "h": 308.4
  },
  "luminance": 0.07589
}

Semantic roles & 50–950 ramp

primary
#751FA8
secondary
#84C65D
accent
#EC3C7D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100613
muted
#7F7A82

Preview Lab

Preview with #751FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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