#7651BF#7651BF

#7651BF is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.0% C 0.166 H 295.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7651BF
RGBrgb(118, 81, 191)
HSLhsl(260, 46%, 53%)
HSVhsv(260, 58%, 75%)
CMYKcmyk(38.2%, 57.6%, 0%, 25.1%)
CIE-LABlab(43.50, 40.00, -52.57)
CIE-LCHlch(43.50, 66.05, 307.26°)
OKLaboklab(52.98% 0.072 -0.1493)
OKLCHoklch(52.98% 0.166 295.7)
XYZxyz(19.8152, 13.4976, 50.8414)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7651BF #9ABF51
analogous
#5163BF #7651BF #AD51BF
triadic
#7651BF #BF7651 #51BF76
tetradic
#7651BF #BF5163 #9ABF51 #51BFAD
square
#7651BF #BF5163 #9ABF51 #51BFAD
split-complementary
#7651BF #BFAD51 #63BF51
monochromatic
#3F286D #59399A #7651BF #997ECF #BCAAE0

Accessibility & contrast

On white

5.68
#7651BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7651BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7651BF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7651BF#FFFFFF#000000##FFFFFF
##7651BF1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1568C3
Deuteranopia (green-blind)
#2565BD
Tritanopia (blue-blind)
#646880
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7651bf;
/* rgb */ color: rgb(118, 81, 191);
/* oklch */ color: oklch(53.0% 0.166 295.7);
Tailwind
colors: {
  custom: {
    50: '#a283d3',
    500: '#7651bf',
    950: '#000000',
  },
}
SCSS
$custom: #7651bf;
$custom-light: #a283d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7651bf",
  "rgb": {
    "r": 118,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 260.182,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52981,
    "c": 0.16575,
    "h": 295.7
  },
  "luminance": 0.13498
}

Semantic roles & 50–950 ramp

primary
#7651BF
secondary
#BECE9E
accent
#D652A9
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7651BF

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

Preview Lab → · Contrast checker → · Palette generator →

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