#7651EC#7651EC

#7651EC is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.3% C 0.221 H 288.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7651EC
RGBrgb(118, 81, 236)
HSLhsl(254, 80%, 62%)
HSVhsv(254, 66%, 93%)
CMYKcmyk(50%, 65.7%, 0%, 7.5%)
CIE-LABlab(46.70, 52.43, -73.15)
CIE-LCHlch(46.70, 90.00, 305.63°)
OKLaboklab(56.31% 0.0688 -0.2098)
OKLCHoklch(56.31% 0.221 288.1)
XYZxyz(25.5495, 15.7914, 81.0424)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7651EC #C7EC51
analogous
#5179EC #7651EC #C451EC
triadic
#7651EC #EC7651 #51EC76
tetradic
#7651EC #EC5179 #C7EC51 #51ECC4
square
#7651EC #EC5179 #C7EC51 #51ECC4
split-complementary
#7651EC #ECC451 #79EC51
monochromatic
#3813AF #4B1AE6 #7651EC #A188F2 #CDBFF8

Accessibility & contrast

On white

5.05
#7651EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7651EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7651EC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7651EC#FFFFFF#000000##FFFFFF
##7651EC1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7651ec;
/* rgb */ color: rgb(118, 81, 236);
/* oklch */ color: oklch(56.3% 0.221 288.1);
Tailwind
colors: {
  custom: {
    50: '#a784f3',
    500: '#7651ec',
    950: '#000000',
  },
}
SCSS
$custom: #7651ec;
$custom-light: #a784f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7651ec",
  "rgb": {
    "r": 118,
    "g": 81,
    "b": 236
  },
  "hsl": {
    "h": 254.323,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56313,
    "c": 0.22081,
    "h": 288.1
  },
  "luminance": 0.15793
}

Semantic roles & 50–950 ramp

primary
#7651EC
secondary
#DBE9B0
accent
#DD09AA
background
#FAF8FF
surface
#F5EFFE
border
#CFCAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7651EC

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

Preview Lab → · Contrast checker → · Palette generator →

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