#7645BD#7645BD

#7645BD is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.180 H 298.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#7645BD
RGBrgb(118, 69, 189)
HSLhsl(265, 48%, 51%)
HSVhsv(265, 63%, 74%)
CMYKcmyk(37.6%, 63.5%, 0%, 25.9%)
CIE-LABlab(40.87, 46.12, -55.65)
CIE-LCHlch(40.87, 72.28, 309.65°)
OKLaboklab(51.02% 0.0863 -0.1584)
OKLCHoklch(51.02% 0.18 298.6)
XYZxyz(18.7823, 11.7817, 49.4188)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645BD #8CBD45
analogous
#4550BD #7645BD #B245BD
triadic
#7645BD #BD7645 #45BD76
tetradic
#7645BD #BD4550 #8CBD45 #45BDB2
square
#7645BD #BD4550 #8CBD45 #45BDB2
split-complementary
#7645BD #BDB245 #50BD45
monochromatic
#3E2464 #5A3491 #7645BD #9772CD #B99FDD

Accessibility & contrast

On white

6.26
#7645BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7645BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645BD
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645BD#FFFFFF#000000##FFFFFF
##7645BD1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#065FBA
Tritanopia (blue-blind)
#66607B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7645bd;
/* rgb */ color: rgb(118, 69, 189);
/* oklch */ color: oklch(51.0% 0.180 298.6);
Tailwind
colors: {
  custom: {
    50: '#a27bd2',
    500: '#7645bd',
    950: '#000000',
  },
}
SCSS
$custom: #7645bd;
$custom-light: #a27bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7645bd",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 264.5,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51015,
    "c": 0.18036,
    "h": 298.6
  },
  "luminance": 0.11782
}

Semantic roles & 50–950 ramp

primary
#7645BD
secondary
#B4CA94
accent
#D751A0
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7645BD

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

Preview Lab → · Contrast checker → · Palette generator →

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