#7645BB#7645BB

#7645BB is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.9% C 0.178 H 299.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7645BB
RGBrgb(118, 69, 187)
HSLhsl(265, 46%, 50%)
HSVhsv(265, 63%, 73%)
CMYKcmyk(36.9%, 63.1%, 0%, 26.7%)
CIE-LABlab(40.73, 45.60, -54.71)
CIE-LCHlch(40.73, 71.22, 309.81°)
OKLaboklab(50.87% 0.0864 -0.1556)
OKLCHoklch(50.87% 0.178 299.1)
XYZxyz(18.5667, 11.6954, 48.2833)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645BB #8ABB45
analogous
#454FBB #7645BB #B145BB
triadic
#7645BB #BB7645 #45BB76
tetradic
#7645BB #BB454F #8ABB45 #45BBB1
square
#7645BB #BB454F #8ABB45 #45BBB1
split-complementary
#7645BB #BBB145 #4FBB45
monochromatic
#3E2462 #5A348F #7645BB #9772CB #B89FDC

Accessibility & contrast

On white

6.29
#7645BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7645BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645BB
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645BB#FFFFFF#000000##FFFFFF
##7645BB1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#0E5FB8
Tritanopia (blue-blind)
#665F7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7645bb;
/* rgb */ color: rgb(118, 69, 187);
/* oklch */ color: oklch(50.9% 0.178 299.1);
Tailwind
colors: {
  custom: {
    50: '#a27bd0',
    500: '#7645bb',
    950: '#000000',
  },
}
SCSS
$custom: #7645bb;
$custom-light: #a27bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7645bb",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 264.915,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5087,
    "c": 0.17799,
    "h": 299.1
  },
  "luminance": 0.11696
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7645BB

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

Preview Lab → · Contrast checker → · Palette generator →

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