#7645BA#7645BA

#7645BA is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.8% C 0.177 H 299.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#7645BA
RGBrgb(118, 69, 186)
HSLhsl(265, 46%, 50%)
HSVhsv(265, 63%, 73%)
CMYKcmyk(36.6%, 62.9%, 0%, 27.1%)
CIE-LABlab(40.66, 45.34, -54.23)
CIE-LCHlch(40.66, 70.69, 309.90°)
OKLaboklab(50.8% 0.0865 -0.1542)
OKLCHoklch(50.8% 0.177 299.3)
XYZxyz(18.4601, 11.6528, 47.7215)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645BA #89BA45
analogous
#454FBA #7645BA #B045BA
triadic
#7645BA #BA7645 #45BA76
tetradic
#7645BA #BA454F #89BA45 #45BAB0
square
#7645BA #BA454F #89BA45 #45BAB0
split-complementary
#7645BA #BAB045 #4FBA45
monochromatic
#3D2461 #5A348D #7645BA #9772CB #B89EDB

Accessibility & contrast

On white

6.31
#7645BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7645BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645BA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645BA#FFFFFF#000000##FFFFFF
##7645BA1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#125FB7
Tritanopia (blue-blind)
#675F79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7645ba;
/* rgb */ color: rgb(118, 69, 186);
/* oklch */ color: oklch(50.8% 0.177 299.3);
Tailwind
colors: {
  custom: {
    50: '#a27bcf',
    500: '#7645ba',
    950: '#000000',
  },
}
SCSS
$custom: #7645ba;
$custom-light: #a27bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7645ba",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 265.128,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.50798,
    "c": 0.1768,
    "h": 299.3
  },
  "luminance": 0.11653
}

Semantic roles & 50–950 ramp

primary
#7645BA
secondary
#B2C893
accent
#D6529F
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7645BA

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

Preview Lab → · Contrast checker → · Palette generator →

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