#751FAC#751FAC

#751FAC is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.3% C 0.206 H 307.3°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#751FAC
RGBrgb(117, 31, 172)
HSLhsl(277, 69%, 40%)
HSVhsv(277, 82%, 67%)
CMYKcmyk(32%, 82%, 0%, 32.5%)
CIE-LABlab(33.44, 58.73, -57.66)
CIE-LCHlch(33.44, 82.30, 315.53°)
OKLaboklab(45.3% 0.1248 -0.1641)
OKLCHoklch(45.3% 0.206 307.3)
XYZxyz(15.2709, 7.7406, 39.7113)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751FAC #56AC1F
analogous
#2F1FAC #751FAC #AC1F9C
triadic
#751FAC #AC751F #1FAC75
tetradic
#751FAC #AC2F1F #56AC1F #1F9CAC
square
#751FAC #AC2F1F #56AC1F #1F9CAC
split-complementary
#751FAC #9CAC1F #1FAC2F
monochromatic
#2E0C44 #521678 #751FAC #972FD9 #B163E3

Accessibility & contrast

On white

8.24
#751FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#751FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751FAC
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751FAC#FFFFFF#000000##FFFFFF
##751FAC1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#6C4567
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #751fac;
/* rgb */ color: rgb(117, 31, 172);
/* oklch */ color: oklch(45.3% 0.206 307.3);
Tailwind
colors: {
  custom: {
    50: '#a267c6',
    500: '#751fac',
    950: '#000000',
  },
}
SCSS
$custom: #751fac;
$custom-light: #a267c6;
$custom-dark: #000000;
JSON
{
  "hex": "#751fac",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 172
  },
  "hsl": {
    "h": 276.596,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45303,
    "c": 0.20617,
    "h": 307.3
  },
  "luminance": 0.0774
}

Semantic roles & 50–950 ramp

primary
#751FAC
secondary
#88C85F
accent
#EC3C80
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #751FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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