#7651D5#7651D5

#7651D5 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.5% C 0.193 H 291.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7651D5
RGBrgb(118, 81, 213)
HSLhsl(257, 61%, 58%)
HSVhsv(257, 62%, 84%)
CMYKcmyk(44.6%, 62%, 0%, 16.5%)
CIE-LABlab(45.00, 46.02, -62.86)
CIE-LCHlch(45.00, 77.90, 306.21°)
OKLaboklab(54.55% 0.0711 -0.1796)
OKLCHoklch(54.55% 0.193 291.6)
XYZxyz(22.4206, 14.5398, 64.5630)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7651D5 #B0D551
analogous
#516ED5 #7651D5 #B851D5
triadic
#7651D5 #D57651 #51D576
tetradic
#7651D5 #D5516E #B0D551 #51D5B8
square
#7651D5 #D5516E #B0D551 #51D5B8
split-complementary
#7651D5 #D5B851 #6ED551
monochromatic
#3F218A #552DBC #7651D5 #9D82E1 #C4B4ED

Accessibility & contrast

On white

5.37
#7651D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7651D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7651D5
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7651D5#FFFFFF#000000##FFFFFF
##7651D51.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#0068D2
Tritanopia (blue-blind)
#5A708B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7651d5;
/* rgb */ color: rgb(118, 81, 213);
/* oklch */ color: oklch(54.5% 0.193 291.6);
Tailwind
colors: {
  custom: {
    50: '#a484e3',
    500: '#7651d5',
    950: '#000000',
  },
}
SCSS
$custom: #7651d5;
$custom-light: #a484e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7651d5",
  "rgb": {
    "r": 118,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 256.818,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54547,
    "c": 0.19313,
    "h": 291.6
  },
  "luminance": 0.14541
}

Semantic roles & 50–950 ramp

primary
#7651D5
secondary
#CDDBA6
accent
#E444B7
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84

Preview Lab

Preview with #7651D5

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

Preview Lab → · Contrast checker → · Palette generator →

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