#7651E7#7651E7

#7651E7 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 55.9% C 0.215 H 288.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7651E7
RGBrgb(118, 81, 231)
HSLhsl(255, 76%, 61%)
HSVhsv(255, 65%, 91%)
CMYKcmyk(48.9%, 64.9%, 0%, 9.4%)
CIE-LABlab(46.32, 51.03, -70.95)
CIE-LCHlch(46.32, 87.40, 305.73°)
OKLaboklab(55.92% 0.0694 -0.2034)
OKLCHoklch(55.92% 0.215 288.8)
XYZxyz(24.8333, 15.5049, 77.2701)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7651E7 #C2E751
analogous
#5177E7 #7651E7 #C151E7
triadic
#7651E7 #E77651 #51E776
tetradic
#7651E7 #E75177 #C2E751 #51E7C1
square
#7651E7 #E75177 #C2E751 #51E7C1
split-complementary
#7651E7 #E7C151 #77E751
monochromatic
#3A17A7 #4D1EDC #7651E7 #A087EE #CBBDF6

Accessibility & contrast

On white

5.12
#7651E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7651E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7651E7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7651E7#FFFFFF#000000##FFFFFF
##7651E71.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#4F7695
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7651e7;
/* rgb */ color: rgb(118, 81, 231);
/* oklch */ color: oklch(55.9% 0.215 288.8);
Tailwind
colors: {
  custom: {
    50: '#a684f0',
    500: '#7651e7',
    950: '#000000',
  },
}
SCSS
$custom: #7651e7;
$custom-light: #a684f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7651e7",
  "rgb": {
    "r": 118,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 254.8,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55919,
    "c": 0.21488,
    "h": 288.8
  },
  "luminance": 0.15506
}

Semantic roles & 50–950 ramp

primary
#7651E7
secondary
#D8E6AE
accent
#D80EA6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7651E7

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

Preview Lab → · Contrast checker → · Palette generator →

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