#7651F2#7651F2

#7651F2 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.8% C 0.228 H 287.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7651F2
RGBrgb(118, 81, 242)
HSLhsl(254, 86%, 63%)
HSVhsv(254, 67%, 95%)
CMYKcmyk(51.2%, 66.5%, 0%, 5.1%)
CIE-LABlab(47.17, 54.11, -75.76)
CIE-LCHlch(47.17, 93.10, 305.54°)
OKLaboklab(56.79% 0.0679 -0.2175)
OKLCHoklch(56.79% 0.228 287.3)
XYZxyz(26.4359, 16.1459, 85.7107)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7651F2 #CDF251
analogous
#517CF2 #7651F2 #C651F2
triadic
#7651F2 #F27651 #51F276
tetradic
#7651F2 #F2517C #CDF251 #51F2C6
square
#7651F2 #F2517C #CDF251 #51F2C6
split-complementary
#7651F2 #F2C651 #7CF251
monochromatic
#360EBB #4918EE #7651F2 #A38AF6 #D0C3FB

Accessibility & contrast

On white

4.97
#7651F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7651F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7651F2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7651F2#FFFFFF#000000##FFFFFF
##7651F21.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F7
Deuteranopia (green-blind)
#006BEF
Tritanopia (blue-blind)
#477A9B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7651f2;
/* rgb */ color: rgb(118, 81, 242);
/* oklch */ color: oklch(56.8% 0.228 287.3);
Tailwind
colors: {
  custom: {
    50: '#a884f7',
    500: '#7651f2',
    950: '#000000',
  },
}
SCSS
$custom: #7651f2;
$custom-light: #a884f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7651f2",
  "rgb": {
    "r": 118,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 253.789,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56793,
    "c": 0.22786,
    "h": 287.3
  },
  "luminance": 0.16147
}

Semantic roles & 50–950 ramp

primary
#7651F2
secondary
#DFECB3
accent
#E303AF
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7651F2

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

Preview Lab → · Contrast checker → · Palette generator →

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