#7651ED#7651ED

#7651ED is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.4% C 0.222 H 288.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7651ED
RGBrgb(118, 81, 237)
HSLhsl(254, 81%, 62%)
HSVhsv(254, 66%, 93%)
CMYKcmyk(50.2%, 65.8%, 0%, 7.1%)
CIE-LABlab(46.78, 52.71, -73.59)
CIE-LCHlch(46.78, 90.52, 305.62°)
OKLaboklab(56.39% 0.0686 -0.2111)
OKLCHoklch(56.39% 0.222 288)
XYZxyz(25.6952, 15.8496, 81.8097)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7651ED #C8ED51
analogous
#517AED #7651ED #C451ED
triadic
#7651ED #ED7651 #51ED76
tetradic
#7651ED #ED517A #C8ED51 #51EDC4
square
#7651ED #ED517A #C8ED51 #51EDC4
split-complementary
#7651ED #EDC451 #7AED51
monochromatic
#3812B1 #4A1AE7 #7651ED #A288F3 #CDC0F8

Accessibility & contrast

On white

5.04
#7651ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7651ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7651ED
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7651ED#FFFFFF#000000##FFFFFF
##7651ED1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F2
Deuteranopia (green-blind)
#006BEA
Tritanopia (blue-blind)
#4B7898
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7651ed;
/* rgb */ color: rgb(118, 81, 237);
/* oklch */ color: oklch(56.4% 0.222 288.0);
Tailwind
colors: {
  custom: {
    50: '#a784f4',
    500: '#7651ed',
    950: '#000000',
  },
}
SCSS
$custom: #7651ed;
$custom-light: #a784f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7651ed",
  "rgb": {
    "r": 118,
    "g": 81,
    "b": 237
  },
  "hsl": {
    "h": 254.231,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56392,
    "c": 0.22199,
    "h": 288
  },
  "luminance": 0.15851
}

Semantic roles & 50–950 ramp

primary
#7651ED
secondary
#DCE9B0
accent
#DE08AB
background
#FAF8FF
surface
#F5EFFE
border
#CFCAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7651ED

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

Preview Lab → · Contrast checker → · Palette generator →

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