#7651F0#7651F0

#7651F0 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.6% C 0.226 H 287.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7651F0
RGBrgb(118, 81, 240)
HSLhsl(254, 84%, 63%)
HSVhsv(254, 66%, 94%)
CMYKcmyk(50.8%, 66.3%, 0%, 5.9%)
CIE-LABlab(47.01, 53.55, -74.89)
CIE-LCHlch(47.01, 92.07, 305.57°)
OKLaboklab(56.63% 0.0682 -0.215)
OKLCHoklch(56.63% 0.226 287.6)
XYZxyz(26.1372, 16.0264, 84.1374)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7651F0 #CBF051
analogous
#517CF0 #7651F0 #C551F0
triadic
#7651F0 #F07651 #51F076
tetradic
#7651F0 #F0517C #CBF051 #51F0C5
square
#7651F0 #F0517C #CBF051 #51F0C5
split-complementary
#7651F0 #F0C551 #7CF051
monochromatic
#3710B7 #4A19EB #7651F0 #A289F5 #CFC2FA

Accessibility & contrast

On white

4.99
#7651F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7651F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7651F0
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7651F0#FFFFFF#000000##FFFFFF
##7651F01.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F5
Deuteranopia (green-blind)
#006BED
Tritanopia (blue-blind)
#48799A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7651f0;
/* rgb */ color: rgb(118, 81, 240);
/* oklch */ color: oklch(56.6% 0.226 287.6);
Tailwind
colors: {
  custom: {
    50: '#a784f6',
    500: '#7651f0',
    950: '#000000',
  },
}
SCSS
$custom: #7651f0;
$custom-light: #a784f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7651f0",
  "rgb": {
    "r": 118,
    "g": 81,
    "b": 240
  },
  "hsl": {
    "h": 253.962,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56632,
    "c": 0.22552,
    "h": 287.6
  },
  "luminance": 0.16028
}

Semantic roles & 50–950 ramp

primary
#7651F0
secondary
#DEEBB2
accent
#E105AD
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7651F0

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

Preview Lab → · Contrast checker → · Palette generator →

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