#7645B2#7645B2

#7645B2 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.2% C 0.167 H 301.3°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#7645B2
RGBrgb(118, 69, 178)
HSLhsl(267, 44%, 48%)
HSVhsv(267, 61%, 70%)
CMYKcmyk(33.7%, 61.2%, 0%, 30.2%)
CIE-LABlab(40.12, 43.28, -50.40)
CIE-LCHlch(40.12, 66.43, 310.66°)
OKLaboklab(50.23% 0.0869 -0.1429)
OKLCHoklch(50.23% 0.167 301.3)
XYZxyz(17.6333, 11.3221, 43.3672)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645B2 #81B245
analogous
#454AB2 #7645B2 #AC45B2
triadic
#7645B2 #B27645 #45B276
tetradic
#7645B2 #B2454A #81B245 #45B2AC
square
#7645B2 #B2454A #81B245 #45B2AC
split-complementary
#7645B2 #B2AC45 #4AB245
monochromatic
#3C235A #593486 #7645B2 #966EC7 #B69AD8

Accessibility & contrast

On white

6.43
#7645B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7645B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645B2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645B2#FFFFFF#000000##FFFFFF
##7645B21.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB5
Deuteranopia (green-blind)
#225EB0
Tritanopia (blue-blind)
#6A5C75
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7645b2;
/* rgb */ color: rgb(118, 69, 178);
/* oklch */ color: oklch(50.2% 0.167 301.3);
Tailwind
colors: {
  custom: {
    50: '#a17bca',
    500: '#7645b2',
    950: '#000000',
  },
}
SCSS
$custom: #7645b2;
$custom-light: #a17bca;
$custom-dark: #000000;
JSON
{
  "hex": "#7645b2",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 266.972,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50232,
    "c": 0.16729,
    "h": 301.3
  },
  "luminance": 0.11322
}

Semantic roles & 50–950 ramp

primary
#7645B2
secondary
#ACC48F
accent
#D4549A
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7645B2

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

Preview Lab → · Contrast checker → · Palette generator →

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