#751FBD#751FBD

#751FBD is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.7% C 0.222 H 302.6°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#751FBD
RGBrgb(117, 31, 189)
HSLhsl(273, 72%, 43%)
HSVhsv(273, 84%, 74%)
CMYKcmyk(38.1%, 83.6%, 0%, 25.9%)
CIE-LABlab(34.87, 62.48, -65.41)
CIE-LCHlch(34.87, 90.45, 313.69°)
OKLaboklab(46.74% 0.1197 -0.1869)
OKLCHoklch(46.74% 0.222 302.6)
XYZxyz(17.0092, 8.4360, 48.8664)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751FBD #67BD1F
analogous
#261FBD #751FBD #BD1FB6
triadic
#751FBD #BD751F #1FBD75
tetradic
#751FBD #BD261F #67BD1F #1FB6BD
square
#751FBD #BD261F #67BD1F #1FB6BD
split-complementary
#751FBD #B6BD1F #1FBD26
monochromatic
#340E54 #541688 #751FBD #943ADF #B16FE7

Accessibility & contrast

On white

7.81
#751FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#751FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751FBD
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751FBD#FFFFFF#000000##FFFFFF
##751FBD1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#654D71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #751fbd;
/* rgb */ color: rgb(117, 31, 189);
/* oklch */ color: oklch(46.7% 0.222 302.6);
Tailwind
colors: {
  custom: {
    50: '#a468d2',
    500: '#751fbd',
    950: '#000000',
  },
}
SCSS
$custom: #751fbd;
$custom-light: #a468d2;
$custom-dark: #000000;
JSON
{
  "hex": "#751fbd",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 189
  },
  "hsl": {
    "h": 272.658,
    "s": 71.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46744,
    "c": 0.22189,
    "h": 302.6
  },
  "luminance": 0.08436
}

Semantic roles & 50–950 ramp

primary
#751FBD
secondary
#97CE6A
accent
#EF398C
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #751FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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