#7645BE#7645BE

#7645BE is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.182 H 298.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7645BE
RGBrgb(118, 69, 190)
HSLhsl(264, 48%, 51%)
HSVhsv(264, 64%, 75%)
CMYKcmyk(37.9%, 63.7%, 0%, 25.5%)
CIE-LABlab(40.94, 46.38, -56.13)
CIE-LCHlch(40.94, 72.81, 309.57°)
OKLaboklab(51.09% 0.0862 -0.1598)
OKLCHoklch(51.09% 0.182 298.3)
XYZxyz(18.8913, 11.8253, 49.9924)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645BE #8DBE45
analogous
#4550BE #7645BE #B345BE
triadic
#7645BE #BE7645 #45BE76
tetradic
#7645BE #BE4550 #8DBE45 #45BEB3
square
#7645BE #BE4550 #8DBE45 #45BEB3
split-complementary
#7645BE #BEB345 #50BE45
monochromatic
#3E2365 #5A3393 #7645BE #9772CE #B9A0DE

Accessibility & contrast

On white

6.24
#7645BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7645BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645BE
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645BE#FFFFFF#000000##FFFFFF
##7645BE1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#015FBB
Tritanopia (blue-blind)
#65607B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7645be;
/* rgb */ color: rgb(118, 69, 190);
/* oklch */ color: oklch(51.1% 0.182 298.3);
Tailwind
colors: {
  custom: {
    50: '#a37bd2',
    500: '#7645be',
    950: '#000000',
  },
}
SCSS
$custom: #7645be;
$custom-light: #a37bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7645be",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 264.298,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51087,
    "c": 0.18154,
    "h": 298.3
  },
  "luminance": 0.11826
}

Semantic roles & 50–950 ramp

primary
#7645BE
secondary
#B5CA95
accent
#D850A1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7645BE

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

Preview Lab → · Contrast checker → · Palette generator →

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