#7651DC#7651DC

#7651DC is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.1% C 0.202 H 290.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7651DC
RGBrgb(118, 81, 220)
HSLhsl(256, 67%, 59%)
HSVhsv(256, 63%, 86%)
CMYKcmyk(46.4%, 63.2%, 0%, 13.7%)
CIE-LABlab(45.50, 47.96, -66.04)
CIE-LCHlch(45.50, 81.62, 305.99°)
OKLaboklab(55.07% 0.0705 -0.1889)
OKLCHoklch(55.07% 0.202 290.5)
XYZxyz(23.3283, 14.9029, 69.3437)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7651DC #B7DC51
analogous
#5172DC #7651DC #BC51DC
triadic
#7651DC #DC7651 #51DC76
tetradic
#7651DC #DC5172 #B7DC51 #51DCBC
square
#7651DC #DC5172 #B7DC51 #51DCBC
split-complementary
#7651DC #DCBC51 #72DC51
monochromatic
#3E1E95 #5328C8 #7651DC #9E84E6 #C6B7F0

Accessibility & contrast

On white

5.28
#7651DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7651DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7651DC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7651DC#FFFFFF#000000##FFFFFF
##7651DC1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#56728F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7651dc;
/* rgb */ color: rgb(118, 81, 220);
/* oklch */ color: oklch(55.1% 0.202 290.5);
Tailwind
colors: {
  custom: {
    50: '#a584e8',
    500: '#7651dc',
    950: '#000000',
  },
}
SCSS
$custom: #7651dc;
$custom-light: #a584e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7651dc",
  "rgb": {
    "r": 118,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 255.971,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55071,
    "c": 0.20167,
    "h": 290.5
  },
  "luminance": 0.14904
}

Semantic roles & 50–950 ramp

primary
#7651DC
secondary
#D1E0A9
accent
#E93EBC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7651DC

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

Preview Lab → · Contrast checker → · Palette generator →

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