#751BC9#751BC9

#751BC9 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.5% C 0.236 H 300.0°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#751BC9
RGBrgb(117, 27, 201)
HSLhsl(271, 76%, 45%)
HSVhsv(271, 87%, 79%)
CMYKcmyk(41.8%, 86.6%, 0%, 21.2%)
CIE-LABlab(35.56, 66.30, -71.32)
CIE-LCHlch(35.56, 97.38, 312.91°)
OKLaboklab(47.54% 0.1178 -0.2042)
OKLCHoklch(47.54% 0.236 300)
XYZxyz(18.2680, 8.7826, 55.9798)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751BC9 #6FC91B
analogous
#1E1BC9 #751BC9 #C91BC6
triadic
#751BC9 #C9751B #1BC975
tetradic
#751BC9 #C91E1B #6FC91B #1BC6C9
square
#751BC9 #C91E1B #6FC91B #1BC6C9
split-complementary
#751BC9 #C6C91B #1BC91E
monochromatic
#360D5D #561493 #751BC9 #943CE5 #B172EC

Accessibility & contrast

On white

7.62
#751BC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#751BC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751BC9
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751BC9#FFFFFF#000000##FFFFFF
##751BC91.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CD
Deuteranopia (green-blind)
#0052C6
Tritanopia (blue-blind)
#605177
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #751bc9;
/* rgb */ color: rgb(117, 27, 201);
/* oklch */ color: oklch(47.5% 0.236 300.0);
Tailwind
colors: {
  custom: {
    50: '#a567db',
    500: '#751bc9',
    950: '#000000',
  },
}
SCSS
$custom: #751bc9;
$custom-light: #a567db;
$custom-dark: #000000;
JSON
{
  "hex": "#751bc9",
  "rgb": {
    "r": 117,
    "g": 27,
    "b": 201
  },
  "hsl": {
    "h": 271.034,
    "s": 76.316,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47544,
    "c": 0.23569,
    "h": 300
  },
  "luminance": 0.08783
}

Semantic roles & 50–950 ramp

primary
#751BC9
secondary
#9ED36D
accent
#F33591
background
#FAF6FD
surface
#F4EBFB
border
#CEC6D4
text
#100715
muted
#7F7A83

Preview Lab

Preview with #751BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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