#7645E1#7645E1

#7645E1 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.8% C 0.222 H 291.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7645E1
RGBrgb(118, 69, 225)
HSLhsl(259, 72%, 58%)
HSVhsv(259, 69%, 88%)
CMYKcmyk(47.6%, 69.3%, 0%, 11.8%)
CIE-LABlab(43.57, 55.65, -72.03)
CIE-LCHlch(43.57, 91.02, 307.69°)
OKLaboklab(53.8% 0.0815 -0.2065)
OKLCHoklch(53.8% 0.222 291.5)
XYZxyz(23.1861, 13.5432, 72.6120)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645E1 #B0E145
analogous
#4562E1 #7645E1 #C445E1
triadic
#7645E1 #E17645 #45E176
tetradic
#7645E1 #E14562 #B0E145 #45E1C4
square
#7645E1 #E14562 #B0E145 #45E1C4
split-complementary
#7645E1 #E1C445 #62E145
monochromatic
#3F1894 #5520C8 #7645E1 #9D7AE9 #C4AEF2

Accessibility & contrast

On white

5.66
#7645E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7645E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645E1
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645E1#FFFFFF#000000##FFFFFF
##7645E11.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E6
Deuteranopia (green-blind)
#0064DE
Tritanopia (blue-blind)
#546D8E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7645e1;
/* rgb */ color: rgb(118, 69, 225);
/* oklch */ color: oklch(53.8% 0.222 291.5);
Tailwind
colors: {
  custom: {
    50: '#a67ceb',
    500: '#7645e1',
    950: '#000000',
  },
}
SCSS
$custom: #7645e1;
$custom-light: #a67ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#7645e1",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 258.846,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53803,
    "c": 0.22201,
    "h": 291.5
  },
  "luminance": 0.13544
}

Semantic roles & 50–950 ramp

primary
#7645E1
secondary
#CDE0A2
accent
#EF39B6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7645E1

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

Preview Lab → · Contrast checker → · Palette generator →

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