#7651EE#7651EE

#7651EE is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.5% C 0.223 H 287.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7651EE
RGBrgb(118, 81, 238)
HSLhsl(254, 82%, 63%)
HSVhsv(254, 66%, 93%)
CMYKcmyk(50.4%, 66%, 0%, 6.7%)
CIE-LABlab(46.85, 52.99, -74.02)
CIE-LCHlch(46.85, 91.04, 305.60°)
OKLaboklab(56.47% 0.0685 -0.2124)
OKLCHoklch(56.47% 0.223 287.9)
XYZxyz(25.8417, 15.9082, 82.5813)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7651EE #C9EE51
analogous
#517BEE #7651EE #C451EE
triadic
#7651EE #EE7651 #51EE76
tetradic
#7651EE #EE517B #C9EE51 #51EEC4
square
#7651EE #EE517B #C9EE51 #51EEC4
split-complementary
#7651EE #EEC451 #7BEE51
monochromatic
#3811B3 #4A19E9 #7651EE #A289F3 #CEC1F9

Accessibility & contrast

On white

5.02
#7651EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7651EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7651EE
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7651EE#FFFFFF#000000##FFFFFF
##7651EE1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F3
Deuteranopia (green-blind)
#006BEB
Tritanopia (blue-blind)
#4A7899
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7651ee;
/* rgb */ color: rgb(118, 81, 238);
/* oklch */ color: oklch(56.5% 0.223 287.9);
Tailwind
colors: {
  custom: {
    50: '#a784f5',
    500: '#7651ee',
    950: '#000000',
  },
}
SCSS
$custom: #7651ee;
$custom-light: #a784f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7651ee",
  "rgb": {
    "r": 118,
    "g": 81,
    "b": 238
  },
  "hsl": {
    "h": 254.14,
    "s": 82.199,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56472,
    "c": 0.22317,
    "h": 287.9
  },
  "luminance": 0.15909
}

Semantic roles & 50–950 ramp

primary
#7651EE
secondary
#DCEAB1
accent
#DF07AC
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7651EE

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

Preview Lab → · Contrast checker → · Palette generator →

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