#7645D1#7645D1

#7645D1 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.5% C 0.204 H 294.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#7645D1
RGBrgb(118, 69, 209)
HSLhsl(261, 60%, 55%)
HSVhsv(261, 67%, 82%)
CMYKcmyk(43.5%, 67%, 0%, 18%)
CIE-LABlab(42.32, 51.38, -64.90)
CIE-LCHlch(42.32, 82.77, 308.37°)
OKLaboklab(52.52% 0.0841 -0.1856)
OKLCHoklch(52.52% 0.204 294.4)
XYZxyz(21.1049, 12.7107, 61.6507)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645D1 #A0D145
analogous
#455AD1 #7645D1 #BC45D1
triadic
#7645D1 #D17645 #45D176
tetradic
#7645D1 #D1455A #A0D145 #45D1BC
square
#7645D1 #D1455A #A0D145 #45D1BC
split-complementary
#7645D1 #D1BC45 #5AD145
monochromatic
#401F7D #592BAE #7645D1 #9A76DD #BEA7E9

Accessibility & contrast

On white

5.93
#7645D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7645D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645D1
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645D1#FFFFFF#000000##FFFFFF
##7645D11.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D5
Deuteranopia (green-blind)
#0062CE
Tritanopia (blue-blind)
#5D6785
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7645d1;
/* rgb */ color: rgb(118, 69, 209);
/* oklch */ color: oklch(52.5% 0.204 294.4);
Tailwind
colors: {
  custom: {
    50: '#a47ce0',
    500: '#7645d1',
    950: '#000000',
  },
}
SCSS
$custom: #7645d1;
$custom-light: #a47ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#7645d1",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 261,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52524,
    "c": 0.20372,
    "h": 294.4
  },
  "luminance": 0.12711
}

Semantic roles & 50–950 ramp

primary
#7645D1
secondary
#C2D79B
accent
#E344AC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7645D1

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

Preview Lab → · Contrast checker → · Palette generator →

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