#7645BC#7645BC

#7645BC is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.9% C 0.179 H 298.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7645BC
RGBrgb(118, 69, 188)
HSLhsl(265, 47%, 50%)
HSVhsv(265, 63%, 74%)
CMYKcmyk(37.2%, 63.3%, 0%, 26.3%)
CIE-LABlab(40.80, 45.86, -55.18)
CIE-LCHlch(40.80, 71.75, 309.73°)
OKLaboklab(50.94% 0.0864 -0.157)
OKLCHoklch(50.94% 0.179 298.8)
XYZxyz(18.6742, 11.7384, 48.8491)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645BC #8BBC45
analogous
#454FBC #7645BC #B245BC
triadic
#7645BC #BC7645 #45BC76
tetradic
#7645BC #BC454F #8BBC45 #45BCB2
square
#7645BC #BC454F #8BBC45 #45BCB2
split-complementary
#7645BC #BCB245 #4FBC45
monochromatic
#3E2463 #5A3490 #7645BC #9772CC #B89FDC

Accessibility & contrast

On white

6.27
#7645BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7645BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645BC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645BC#FFFFFF#000000##FFFFFF
##7645BC1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#0A5FB9
Tritanopia (blue-blind)
#665F7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7645bc;
/* rgb */ color: rgb(118, 69, 188);
/* oklch */ color: oklch(50.9% 0.179 298.8);
Tailwind
colors: {
  custom: {
    50: '#a27bd1',
    500: '#7645bc',
    950: '#000000',
  },
}
SCSS
$custom: #7645bc;
$custom-light: #a27bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7645bc",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 264.706,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50942,
    "c": 0.17918,
    "h": 298.8
  },
  "luminance": 0.11739
}

Semantic roles & 50–950 ramp

primary
#7645BC
secondary
#B3C994
accent
#D751A0
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7645BC

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

Preview Lab → · Contrast checker → · Palette generator →

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