#7645C8#7645C8

#7645C8 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.193 H 296.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7645C8
RGBrgb(118, 69, 200)
HSLhsl(262, 54%, 53%)
HSVhsv(262, 66%, 78%)
CMYKcmyk(41%, 65.5%, 0%, 21.6%)
CIE-LABlab(41.65, 49.00, -60.79)
CIE-LCHlch(41.65, 78.07, 308.87°)
OKLaboklab(51.83% 0.0852 -0.1735)
OKLCHoklch(51.83% 0.193 296.2)
XYZxyz(20.0219, 12.2775, 55.9473)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645C8 #97C845
analogous
#4555C8 #7645C8 #B845C8
triadic
#7645C8 #C87645 #45C876
tetradic
#7645C8 #C84555 #97C845 #45C8B8
square
#7645C8 #C84555 #97C845 #45C8B8
split-complementary
#7645C8 #C8B845 #55C845
monochromatic
#3F2171 #5A2FA0 #7645C8 #9974D6 #BCA3E4

Accessibility & contrast

On white

6.08
#7645C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7645C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645C8
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645C8#FFFFFF#000000##FFFFFF
##7645C81.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#616480
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7645c8;
/* rgb */ color: rgb(118, 69, 200);
/* oklch */ color: oklch(51.8% 0.193 296.2);
Tailwind
colors: {
  custom: {
    50: '#a47cda',
    500: '#7645c8',
    950: '#000000',
  },
}
SCSS
$custom: #7645c8;
$custom-light: #a47cda;
$custom-dark: #000000;
JSON
{
  "hex": "#7645c8",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 262.443,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51831,
    "c": 0.19328,
    "h": 296.2
  },
  "luminance": 0.12278
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7645C8

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

Preview Lab → · Contrast checker → · Palette generator →

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