#7751BF#7751BF

#7751BF is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.1% C 0.166 H 296.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7751BF
RGBrgb(119, 81, 191)
HSLhsl(261, 46%, 53%)
HSVhsv(261, 58%, 75%)
CMYKcmyk(37.7%, 57.6%, 0%, 25.1%)
CIE-LABlab(43.61, 40.23, -52.40)
CIE-LCHlch(43.61, 66.06, 307.52°)
OKLaboklab(53.08% 0.0733 -0.1488)
OKLCHoklch(53.08% 0.166 296.2)
XYZxyz(19.9517, 13.5680, 50.8478)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7751BF #99BF51
analogous
#5162BF #7751BF #AE51BF
triadic
#7751BF #BF7751 #51BF77
tetradic
#7751BF #BF5162 #99BF51 #51BFAE
square
#7751BF #BF5162 #99BF51 #51BFAE
split-complementary
#7751BF #BFAE51 #62BF51
monochromatic
#40286D #5A399A #7751BF #9A7ECF #BDAAE0

Accessibility & contrast

On white

5.65
#7751BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7751BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7751BF
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7751BF#FFFFFF#000000##FFFFFF
##7751BF1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1668C3
Deuteranopia (green-blind)
#2666BD
Tritanopia (blue-blind)
#666880
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7751bf;
/* rgb */ color: rgb(119, 81, 191);
/* oklch */ color: oklch(53.1% 0.166 296.2);
Tailwind
colors: {
  custom: {
    50: '#a383d3',
    500: '#7751bf',
    950: '#000000',
  },
}
SCSS
$custom: #7751bf;
$custom-light: #a383d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7751bf",
  "rgb": {
    "r": 119,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 260.727,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53081,
    "c": 0.16585,
    "h": 296.2
  },
  "luminance": 0.13568
}

Semantic roles & 50–950 ramp

primary
#7751BF
secondary
#BDCE9E
accent
#D652A8
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7751BF

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

Preview Lab → · Contrast checker → · Palette generator →

#7751BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva