#7651BE#7651BE

#7651BE is a mid, vivid violet. Relative luminance 0.135; OKLCH L 52.9% C 0.164 H 295.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7651BE
RGBrgb(118, 81, 190)
HSLhsl(260, 46%, 53%)
HSVhsv(260, 57%, 75%)
CMYKcmyk(37.9%, 57.4%, 0%, 25.5%)
CIE-LABlab(43.44, 39.72, -52.09)
CIE-LCHlch(43.44, 65.51, 307.33°)
OKLaboklab(52.91% 0.072 -0.1479)
OKLCHoklch(52.91% 0.164 295.9)
XYZxyz(19.7055, 13.4538, 50.2638)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7651BE #99BE51
analogous
#5162BE #7651BE #AC51BE
triadic
#7651BE #BE7651 #51BE76
tetradic
#7651BE #BE5162 #99BE51 #51BEAC
square
#7651BE #BE5162 #99BE51 #51BEAC
split-complementary
#7651BE #BEAC51 #62BE51
monochromatic
#3F286C #5A3999 #7651BE #997ECF #BCAADF

Accessibility & contrast

On white

5.69
#7651BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7651BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7651BE
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7651BE#FFFFFF#000000##FFFFFF
##7651BE1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1767C2
Deuteranopia (green-blind)
#2765BC
Tritanopia (blue-blind)
#656880
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7651be;
/* rgb */ color: rgb(118, 81, 190);
/* oklch */ color: oklch(52.9% 0.164 295.9);
Tailwind
colors: {
  custom: {
    50: '#a283d2',
    500: '#7651be',
    950: '#000000',
  },
}
SCSS
$custom: #7651be;
$custom-light: #a283d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7651be",
  "rgb": {
    "r": 118,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 260.367,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52912,
    "c": 0.16449,
    "h": 295.9
  },
  "luminance": 0.13454
}

Semantic roles & 50–950 ramp

primary
#7651BE
secondary
#BDCD9E
accent
#D553A9
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7651BE

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

Preview Lab → · Contrast checker → · Palette generator →

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