#7651CF#7651CF

#7651CF is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.1% C 0.186 H 292.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7651CF
RGBrgb(118, 81, 207)
HSLhsl(258, 57%, 56%)
HSVhsv(258, 61%, 81%)
CMYKcmyk(43%, 60.9%, 0%, 18.8%)
CIE-LABlab(44.58, 44.36, -60.09)
CIE-LCHlch(44.58, 74.70, 306.43°)
OKLaboklab(54.11% 0.0715 -0.1714)
OKLCHoklch(54.11% 0.186 292.6)
XYZxyz(21.6731, 14.2408, 60.6262)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7651CF #AACF51
analogous
#516BCF #7651CF #B551CF
triadic
#7651CF #CF7651 #51CF76
tetradic
#7651CF #CF516B #AACF51 #51CFB5
square
#7651CF #CF516B #AACF51 #51CFB5
split-complementary
#7651CF #CFB551 #6BCF51
monochromatic
#3F2482 #5731B2 #7651CF #9C81DC #C2B1E9

Accessibility & contrast

On white

5.46
#7651CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7651CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7651CF
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7651CF#FFFFFF#000000##FFFFFF
##7651CF1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#5D6E88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7651cf;
/* rgb */ color: rgb(118, 81, 207);
/* oklch */ color: oklch(54.1% 0.186 292.6);
Tailwind
colors: {
  custom: {
    50: '#a483de',
    500: '#7651cf',
    950: '#000000',
  },
}
SCSS
$custom: #7651cf;
$custom-light: #a483de;
$custom-dark: #000000;
JSON
{
  "hex": "#7651cf",
  "rgb": {
    "r": 118,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 257.619,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54107,
    "c": 0.18575,
    "h": 292.6
  },
  "luminance": 0.14241
}

Semantic roles & 50–950 ramp

primary
#7651CF
secondary
#C9D8A4
accent
#E048B3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7651CF

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

Preview Lab → · Contrast checker → · Palette generator →

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