#7645C5#7645C5

#7645C5 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.6% C 0.190 H 296.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#7645C5
RGBrgb(118, 69, 197)
HSLhsl(263, 52%, 52%)
HSVhsv(263, 65%, 77%)
CMYKcmyk(40.1%, 65%, 0%, 22.7%)
CIE-LABlab(41.44, 48.21, -59.40)
CIE-LCHlch(41.44, 76.50, 309.06°)
OKLaboklab(51.61% 0.0855 -0.1694)
OKLCHoklch(51.61% 0.19 296.8)
XYZxyz(19.6748, 12.1387, 54.1189)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645C5 #94C545
analogous
#4554C5 #7645C5 #B645C5
triadic
#7645C5 #C57645 #45C576
tetradic
#7645C5 #C54554 #94C545 #45C5B6
square
#7645C5 #C54554 #94C545 #45C5B6
split-complementary
#7645C5 #C5B645 #54C545
monochromatic
#3F226D #5A319C #7645C5 #9874D4 #BBA2E2

Accessibility & contrast

On white

6.13
#7645C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7645C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645C5
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645C5#FFFFFF#000000##FFFFFF
##7645C51.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#62637F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7645c5;
/* rgb */ color: rgb(118, 69, 197);
/* oklch */ color: oklch(51.6% 0.190 296.8);
Tailwind
colors: {
  custom: {
    50: '#a37cd7',
    500: '#7645c5',
    950: '#000000',
  },
}
SCSS
$custom: #7645c5;
$custom-light: #a37cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7645c5",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 262.969,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51605,
    "c": 0.18976,
    "h": 296.8
  },
  "luminance": 0.12139
}

Semantic roles & 50–950 ramp

primary
#7645C5
secondary
#B9CF97
accent
#DC4CA5
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7645C5

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

Preview Lab → · Contrast checker → · Palette generator →

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