#751FB3#751FB3

#751FB3 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.9% C 0.213 H 305.3°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#751FB3
RGBrgb(117, 31, 179)
HSLhsl(275, 70%, 41%)
HSVhsv(275, 83%, 70%)
CMYKcmyk(34.6%, 82.7%, 0%, 29.8%)
CIE-LABlab(34.02, 60.26, -60.89)
CIE-LCHlch(34.02, 85.67, 314.70°)
OKLaboklab(45.89% 0.1228 -0.1736)
OKLCHoklch(45.89% 0.213 305.3)
XYZxyz(15.9609, 8.0167, 43.3456)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751FB3 #5DB31F
analogous
#2B1FB3 #751FB3 #B31FA7
triadic
#751FB3 #B3751F #1FB375
tetradic
#751FB3 #B32B1F #5DB31F #1FA7B3
square
#751FB3 #B32B1F #5DB31F #1FA7B3
split-complementary
#751FB3 #A7B31F #1FB32B
monochromatic
#310D4B #53167F #751FB3 #9533DC #B068E5

Accessibility & contrast

On white

8.07
#751FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#751FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751FB3
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751FB3#FFFFFF#000000##FFFFFF
##751FB31.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#69486B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #751fb3;
/* rgb */ color: rgb(117, 31, 179);
/* oklch */ color: oklch(45.9% 0.213 305.3);
Tailwind
colors: {
  custom: {
    50: '#a367cb',
    500: '#751fb3',
    950: '#000000',
  },
}
SCSS
$custom: #751fb3;
$custom-light: #a367cb;
$custom-dark: #000000;
JSON
{
  "hex": "#751fb3",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 179
  },
  "hsl": {
    "h": 274.865,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45886,
    "c": 0.21263,
    "h": 305.3
  },
  "luminance": 0.08017
}

Semantic roles & 50–950 ramp

primary
#751FB3
secondary
#8FCA64
accent
#ED3B85
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #751FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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