#7645BF#7645BF

#7645BF is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.2% C 0.183 H 298.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7645BF
RGBrgb(118, 69, 191)
HSLhsl(264, 49%, 51%)
HSVhsv(264, 64%, 75%)
CMYKcmyk(38.2%, 63.9%, 0%, 25.1%)
CIE-LABlab(41.01, 46.64, -56.60)
CIE-LCHlch(41.01, 73.34, 309.49°)
OKLaboklab(51.16% 0.0861 -0.1611)
OKLCHoklch(51.16% 0.183 298.1)
XYZxyz(19.0009, 11.8691, 50.5700)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645BF #8EBF45
analogous
#4551BF #7645BF #B345BF
triadic
#7645BF #BF7645 #45BF76
tetradic
#7645BF #BF4551 #8EBF45 #45BFB3
square
#7645BF #BF4551 #8EBF45 #45BFB3
split-complementary
#7645BF #BFB345 #51BF45
monochromatic
#3E2366 #5A3394 #7645BF #9873CF #B9A0DE

Accessibility & contrast

On white

6.22
#7645BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7645BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645BF
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645BF#FFFFFF#000000##FFFFFF
##7645BF1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#65607C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7645bf;
/* rgb */ color: rgb(118, 69, 191);
/* oklch */ color: oklch(51.2% 0.183 298.1);
Tailwind
colors: {
  custom: {
    50: '#a37bd3',
    500: '#7645bf',
    950: '#000000',
  },
}
SCSS
$custom: #7645bf;
$custom-light: #a37bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7645bf",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 264.098,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51161,
    "c": 0.18271,
    "h": 298.1
  },
  "luminance": 0.11869
}

Semantic roles & 50–950 ramp

primary
#7645BF
secondary
#B5CB95
accent
#D84FA1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7645BF

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

Preview Lab → · Contrast checker → · Palette generator →

#7645BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva