#7645C3#7645C3

#7645C3 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.5% C 0.187 H 297.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7645C3
RGBrgb(118, 69, 195)
HSLhsl(263, 51%, 52%)
HSVhsv(263, 65%, 76%)
CMYKcmyk(39.5%, 64.6%, 0%, 23.5%)
CIE-LABlab(41.29, 47.68, -58.47)
CIE-LCHlch(41.29, 75.45, 309.20°)
OKLaboklab(51.46% 0.0858 -0.1667)
OKLCHoklch(51.46% 0.187 297.2)
XYZxyz(19.4471, 12.0476, 52.9200)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645C3 #92C345
analogous
#4553C3 #7645C3 #B545C3
triadic
#7645C3 #C37645 #45C376
tetradic
#7645C3 #C34553 #92C345 #45C3B5
square
#7645C3 #C34553 #92C345 #45C3B5
split-complementary
#7645C3 #C3B545 #53C345
monochromatic
#3F236B #5A3199 #7645C3 #9873D2 #BAA2E1

Accessibility & contrast

On white

6.16
#7645C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7645C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645C3
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645C3#FFFFFF#000000##FFFFFF
##7645C31.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#63627E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7645c3;
/* rgb */ color: rgb(118, 69, 195);
/* oklch */ color: oklch(51.5% 0.187 297.2);
Tailwind
colors: {
  custom: {
    50: '#a37bd6',
    500: '#7645c3',
    950: '#000000',
  },
}
SCSS
$custom: #7645c3;
$custom-light: #a37bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#7645c3",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 195
  },
  "hsl": {
    "h": 263.333,
    "s": 51.22,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51456,
    "c": 0.18743,
    "h": 297.2
  },
  "luminance": 0.12048
}

Semantic roles & 50–950 ramp

primary
#7645C3
secondary
#B8CE96
accent
#DB4DA4
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7645C3

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

Preview Lab → · Contrast checker → · Palette generator →

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