#7651BC#7651BC

#7651BC is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.8% C 0.162 H 296.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7651BC
RGBrgb(118, 81, 188)
HSLhsl(261, 44%, 53%)
HSVhsv(261, 57%, 74%)
CMYKcmyk(37.2%, 56.9%, 0%, 26.3%)
CIE-LABlab(43.31, 39.19, -51.13)
CIE-LCHlch(43.31, 64.42, 307.47°)
OKLaboklab(52.78% 0.072 -0.1451)
OKLCHoklch(52.78% 0.162 296.4)
XYZxyz(19.4884, 13.3669, 49.1205)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7651BC #97BC51
analogous
#5161BC #7651BC #AC51BC
triadic
#7651BC #BC7651 #51BC76
tetradic
#7651BC #BC5161 #97BC51 #51BCAC
square
#7651BC #BC5161 #97BC51 #51BCAC
split-complementary
#7651BC #BCAC51 #61BC51
monochromatic
#3F296A #5A3A96 #7651BC #997DCD #BCA9DE

Accessibility & contrast

On white

5.72
#7651BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7651BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7651BC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7651BC#FFFFFF#000000##FFFFFF
##7651BC1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B67C0
Deuteranopia (green-blind)
#2A65BA
Tritanopia (blue-blind)
#65677F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7651bc;
/* rgb */ color: rgb(118, 81, 188);
/* oklch */ color: oklch(52.8% 0.162 296.4);
Tailwind
colors: {
  custom: {
    50: '#a283d1',
    500: '#7651bc',
    950: '#000000',
  },
}
SCSS
$custom: #7651bc;
$custom-light: #a283d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7651bc",
  "rgb": {
    "r": 118,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 260.748,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52777,
    "c": 0.16196,
    "h": 296.4
  },
  "luminance": 0.13367
}

Semantic roles & 50–950 ramp

primary
#7651BC
secondary
#BCCC9D
accent
#D454A8
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7651BC

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

Preview Lab → · Contrast checker → · Palette generator →

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