#7645D9#7645D9

#7645D9 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.2% C 0.213 H 292.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7645D9
RGBrgb(118, 69, 217)
HSLhsl(260, 66%, 56%)
HSVhsv(260, 68%, 85%)
CMYKcmyk(45.6%, 68.2%, 0%, 14.9%)
CIE-LABlab(42.94, 53.51, -68.49)
CIE-LCHlch(42.94, 86.91, 308.00°)
OKLaboklab(53.16% 0.0828 -0.1961)
OKLCHoklch(53.16% 0.213 292.9)
XYZxyz(22.1203, 13.1169, 66.9985)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645D9 #A8D945
analogous
#455ED9 #7645D9 #C045D9
triadic
#7645D9 #D97645 #45D976
tetradic
#7645D9 #D9455E #A8D945 #45D9C0
square
#7645D9 #D9455E #A8D945 #45D9C0
split-complementary
#7645D9 #D9C045 #5ED945
monochromatic
#401C88 #5726BB #7645D9 #9B78E3 #C1ABEE

Accessibility & contrast

On white

5.80
#7645D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7645D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645D9
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645D9#FFFFFF#000000##FFFFFF
##7645D91.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#0063D6
Tritanopia (blue-blind)
#596A8A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7645d9;
/* rgb */ color: rgb(118, 69, 217);
/* oklch */ color: oklch(53.2% 0.213 292.9);
Tailwind
colors: {
  custom: {
    50: '#a57ce6',
    500: '#7645d9',
    950: '#000000',
  },
}
SCSS
$custom: #7645d9;
$custom-light: #a57ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#7645d9",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 259.865,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53156,
    "c": 0.2129,
    "h": 292.9
  },
  "luminance": 0.13118
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7645D9

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

Preview Lab → · Contrast checker → · Palette generator →

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