#7645CC#7645CC

#7645CC is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.1% C 0.198 H 295.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7645CC
RGBrgb(118, 69, 204)
HSLhsl(262, 57%, 54%)
HSVhsv(262, 66%, 80%)
CMYKcmyk(42.2%, 66.2%, 0%, 20%)
CIE-LABlab(41.95, 50.05, -62.62)
CIE-LCHlch(41.95, 80.17, 308.63°)
OKLaboklab(52.14% 0.0847 -0.1789)
OKLCHoklch(52.14% 0.198 295.3)
XYZxyz(20.4955, 12.4670, 58.4415)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645CC #9BCC45
analogous
#4557CC #7645CC #B945CC
triadic
#7645CC #CC7645 #45CC76
tetradic
#7645CC #CC4557 #9BCC45 #45CCB9
square
#7645CC #CC4557 #9BCC45 #45CCB9
split-complementary
#7645CC #CCB945 #57CC45
monochromatic
#402076 #592EA6 #7645CC #9975D9 #BDA5E6

Accessibility & contrast

On white

6.01
#7645CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7645CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645CC
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645CC#FFFFFF#000000##FFFFFF
##7645CC1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#5F6583
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7645cc;
/* rgb */ color: rgb(118, 69, 204);
/* oklch */ color: oklch(52.1% 0.198 295.3);
Tailwind
colors: {
  custom: {
    50: '#a47cdc',
    500: '#7645cc',
    950: '#000000',
  },
}
SCSS
$custom: #7645cc;
$custom-light: #a47cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7645cc",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 261.778,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52136,
    "c": 0.19793,
    "h": 295.3
  },
  "luminance": 0.12467
}

Semantic roles & 50–950 ramp

primary
#7645CC
secondary
#BED399
accent
#E048A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7645CC

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

Preview Lab → · Contrast checker → · Palette generator →

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