#7651DF#7651DF

#7651DF is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.3% C 0.205 H 290.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7651DF
RGBrgb(118, 81, 223)
HSLhsl(256, 69%, 60%)
HSVhsv(256, 64%, 87%)
CMYKcmyk(47.1%, 63.7%, 0%, 12.5%)
CIE-LABlab(45.72, 48.80, -67.39)
CIE-LCHlch(45.72, 83.20, 305.91°)
OKLaboklab(55.3% 0.0702 -0.1929)
OKLCHoklch(55.3% 0.205 290)
XYZxyz(23.7291, 15.0632, 71.4549)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7651DF #BADF51
analogous
#5173DF #7651DF #BD51DF
triadic
#7651DF #DF7651 #51DF76
tetradic
#7651DF #DF5173 #BADF51 #51DFBD
square
#7651DF #DF5173 #BADF51 #51DFBD
split-complementary
#7651DF #DFBD51 #73DF51
monochromatic
#3D1C99 #5126CD #7651DF #9F85E9 #C7B8F2

Accessibility & contrast

On white

5.23
#7651DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7651DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7651DF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7651DF#FFFFFF#000000##FFFFFF
##7651DF1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE3
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#547391
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7651df;
/* rgb */ color: rgb(118, 81, 223);
/* oklch */ color: oklch(55.3% 0.205 290.0);
Tailwind
colors: {
  custom: {
    50: '#a584ea',
    500: '#7651df',
    950: '#000000',
  },
}
SCSS
$custom: #7651df;
$custom-light: #a584ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7651df",
  "rgb": {
    "r": 118,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 255.634,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.553,
    "c": 0.20529,
    "h": 290
  },
  "luminance": 0.15064
}

Semantic roles & 50–950 ramp

primary
#7651DF
secondary
#D3E1AA
accent
#EC3CBE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7651DF

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

Preview Lab → · Contrast checker → · Palette generator →

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