#7645D8#7645D8

#7645D8 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.1% C 0.212 H 293.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7645D8
RGBrgb(118, 69, 216)
HSLhsl(260, 65%, 56%)
HSVhsv(260, 68%, 85%)
CMYKcmyk(45.4%, 68.1%, 0%, 15.3%)
CIE-LABlab(42.86, 53.24, -68.05)
CIE-LCHlch(42.86, 86.40, 308.04°)
OKLaboklab(53.08% 0.083 -0.1948)
OKLCHoklch(53.08% 0.212 293.1)
XYZxyz(21.9906, 13.0650, 66.3156)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645D8 #A7D845
analogous
#455DD8 #7645D8 #BF45D8
triadic
#7645D8 #D87645 #45D876
tetradic
#7645D8 #D8455D #A7D845 #45D8BF
square
#7645D8 #D8455D #A7D845 #45D8BF
split-complementary
#7645D8 #D8BF45 #5DD845
monochromatic
#401C86 #5827B9 #7645D8 #9B78E3 #C1AAED

Accessibility & contrast

On white

5.81
#7645D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7645D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645D8
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645D8#FFFFFF#000000##FFFFFF
##7645D81.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DC
Deuteranopia (green-blind)
#0062D5
Tritanopia (blue-blind)
#596989
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7645d8;
/* rgb */ color: rgb(118, 69, 216);
/* oklch */ color: oklch(53.1% 0.212 293.1);
Tailwind
colors: {
  custom: {
    50: '#a57ce5',
    500: '#7645d8',
    950: '#000000',
  },
}
SCSS
$custom: #7645d8;
$custom-light: #a57ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#7645d8",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 260,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53076,
    "c": 0.21176,
    "h": 293.1
  },
  "luminance": 0.13066
}

Semantic roles & 50–950 ramp

primary
#7645D8
secondary
#C7DB9E
accent
#E840B0
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7645D8

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

Preview Lab → · Contrast checker → · Palette generator →

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