#7645C2#7645C2

#7645C2 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.4% C 0.186 H 297.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7645C2
RGBrgb(118, 69, 194)
HSLhsl(264, 51%, 52%)
HSVhsv(264, 64%, 76%)
CMYKcmyk(39.2%, 64.4%, 0%, 23.9%)
CIE-LABlab(41.22, 47.42, -58.00)
CIE-LCHlch(41.22, 74.92, 309.27°)
OKLaboklab(51.38% 0.0858 -0.1653)
OKLCHoklch(51.38% 0.186 297.4)
XYZxyz(19.3344, 12.0025, 52.3265)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645C2 #91C245
analogous
#4553C2 #7645C2 #B545C2
triadic
#7645C2 #C27645 #45C276
tetradic
#7645C2 #C24553 #91C245 #45C2B5
square
#7645C2 #C24553 #91C245 #45C2B5
split-complementary
#7645C2 #C2B545 #53C245
monochromatic
#3F236A #5A3298 #7645C2 #9873D1 #BAA1E0

Accessibility & contrast

On white

6.18
#7645C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7645C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645C2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645C2#FFFFFF#000000##FFFFFF
##7645C21.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#64617D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7645c2;
/* rgb */ color: rgb(118, 69, 194);
/* oklch */ color: oklch(51.4% 0.186 297.4);
Tailwind
colors: {
  custom: {
    50: '#a37bd5',
    500: '#7645c2',
    950: '#000000',
  },
}
SCSS
$custom: #7645c2;
$custom-light: #a37bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7645c2",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 263.52,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51382,
    "c": 0.18624,
    "h": 297.4
  },
  "luminance": 0.12003
}

Semantic roles & 50–950 ramp

primary
#7645C2
secondary
#B7CD96
accent
#DA4EA3
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7645C2

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

Preview Lab → · Contrast checker → · Palette generator →

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