#7651E8#7651E8

#7651E8 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.0% C 0.216 H 288.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7651E8
RGBrgb(118, 81, 232)
HSLhsl(255, 77%, 61%)
HSVhsv(255, 65%, 91%)
CMYKcmyk(49.1%, 65.1%, 0%, 9%)
CIE-LABlab(46.39, 51.31, -71.39)
CIE-LCHlch(46.39, 87.92, 305.71°)
OKLaboklab(56% 0.0693 -0.2047)
OKLCHoklch(56% 0.216 288.7)
XYZxyz(24.9749, 15.5615, 78.0160)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7651E8 #C3E851
analogous
#5178E8 #7651E8 #C251E8
triadic
#7651E8 #E87651 #51E876
tetradic
#7651E8 #E85178 #C3E851 #51E8C2
square
#7651E8 #E85178 #C3E851 #51E8C2
split-complementary
#7651E8 #E8C251 #78E851
monochromatic
#3A16A8 #4D1DDE #7651E8 #A187EF #CBBDF6

Accessibility & contrast

On white

5.11
#7651E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7651E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7651E8
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7651E8#FFFFFF#000000##FFFFFF
##7651E81.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#006AE5
Tritanopia (blue-blind)
#4E7696
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7651e8;
/* rgb */ color: rgb(118, 81, 232);
/* oklch */ color: oklch(56.0% 0.216 288.7);
Tailwind
colors: {
  custom: {
    50: '#a684f0',
    500: '#7651e8',
    950: '#000000',
  },
}
SCSS
$custom: #7651e8;
$custom-light: #a684f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7651e8",
  "rgb": {
    "r": 118,
    "g": 81,
    "b": 232
  },
  "hsl": {
    "h": 254.702,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55997,
    "c": 0.21607,
    "h": 288.7
  },
  "luminance": 0.15563
}

Semantic roles & 50–950 ramp

primary
#7651E8
secondary
#D9E7AE
accent
#D90DA7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7651E8

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

Preview Lab → · Contrast checker → · Palette generator →

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