#7645C9#7645C9

#7645C9 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.9% C 0.194 H 296.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#7645C9
RGBrgb(118, 69, 201)
HSLhsl(262, 55%, 53%)
HSVhsv(262, 66%, 79%)
CMYKcmyk(41.3%, 65.7%, 0%, 21.2%)
CIE-LABlab(41.73, 49.26, -61.25)
CIE-LCHlch(41.73, 78.60, 308.81°)
OKLaboklab(51.91% 0.0851 -0.1748)
OKLCHoklch(51.91% 0.194 296)
XYZxyz(20.1392, 12.3244, 56.5648)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645C9 #98C945
analogous
#4556C9 #7645C9 #B845C9
triadic
#7645C9 #C97645 #45C976
tetradic
#7645C9 #C94556 #98C945 #45C9B8
square
#7645C9 #C94556 #98C945 #45C9B8
split-complementary
#7645C9 #C9B845 #56C945
monochromatic
#3F2172 #5A2FA2 #7645C9 #9974D7 #BCA4E5

Accessibility & contrast

On white

6.06
#7645C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7645C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645C9
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645C9#FFFFFF#000000##FFFFFF
##7645C91.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CD
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#616481
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7645c9;
/* rgb */ color: rgb(118, 69, 201);
/* oklch */ color: oklch(51.9% 0.194 296.0);
Tailwind
colors: {
  custom: {
    50: '#a47cda',
    500: '#7645c9',
    950: '#000000',
  },
}
SCSS
$custom: #7645c9;
$custom-light: #a47cda;
$custom-dark: #000000;
JSON
{
  "hex": "#7645c9",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 201
  },
  "hsl": {
    "h": 262.273,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51907,
    "c": 0.19444,
    "h": 296
  },
  "luminance": 0.12325
}

Semantic roles & 50–950 ramp

primary
#7645C9
secondary
#BCD198
accent
#DE49A7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7645C9

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

Preview Lab → · Contrast checker → · Palette generator →

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