#7651EA#7651EA

#7651EA is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.2% C 0.218 H 288.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7651EA
RGBrgb(118, 81, 234)
HSLhsl(255, 78%, 62%)
HSVhsv(255, 65%, 92%)
CMYKcmyk(49.6%, 65.4%, 0%, 8.2%)
CIE-LABlab(46.55, 51.87, -72.27)
CIE-LCHlch(46.55, 88.96, 305.67°)
OKLaboklab(56.16% 0.069 -0.2072)
OKLCHoklch(56.16% 0.218 288.4)
XYZxyz(25.2606, 15.6758, 79.5207)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7651EA #C5EA51
analogous
#5179EA #7651EA #C351EA
triadic
#7651EA #EA7651 #51EA76
tetradic
#7651EA #EA5179 #C5EA51 #51EAC3
square
#7651EA #EA5179 #C5EA51 #51EAC3
split-complementary
#7651EA #EAC351 #79EA51
monochromatic
#3915AC #4B1BE2 #7651EA #A188F1 #CCBEF7

Accessibility & contrast

On white

5.08
#7651EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7651EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7651EA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7651EA#FFFFFF#000000##FFFFFF
##7651EA1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EF
Deuteranopia (green-blind)
#006AE7
Tritanopia (blue-blind)
#4D7797
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7651ea;
/* rgb */ color: rgb(118, 81, 234);
/* oklch */ color: oklch(56.2% 0.218 288.4);
Tailwind
colors: {
  custom: {
    50: '#a784f2',
    500: '#7651ea',
    950: '#000000',
  },
}
SCSS
$custom: #7651ea;
$custom-light: #a784f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7651ea",
  "rgb": {
    "r": 118,
    "g": 81,
    "b": 234
  },
  "hsl": {
    "h": 254.51,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56155,
    "c": 0.21843,
    "h": 288.4
  },
  "luminance": 0.15677
}

Semantic roles & 50–950 ramp

primary
#7651EA
secondary
#DAE8AF
accent
#DB0BA8
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7651EA

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

Preview Lab → · Contrast checker → · Palette generator →

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