#7645CE#7645CE

#7645CE is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.3% C 0.200 H 294.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7645CE
RGBrgb(118, 69, 206)
HSLhsl(261, 58%, 54%)
HSVhsv(261, 67%, 81%)
CMYKcmyk(42.7%, 66.5%, 0%, 19.2%)
CIE-LABlab(42.10, 50.58, -63.54)
CIE-LCHlch(42.10, 81.21, 308.52°)
OKLaboklab(52.29% 0.0845 -0.1816)
OKLCHoklch(52.29% 0.2 294.9)
XYZxyz(20.7369, 12.5635, 59.7130)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645CE #9DCE45
analogous
#4559CE #7645CE #BB45CE
triadic
#7645CE #CE7645 #45CE76
tetradic
#7645CE #CE4559 #9DCE45 #45CEBB
square
#7645CE #CE4559 #9DCE45 #45CEBB
split-complementary
#7645CE #CEBB45 #59CE45
monochromatic
#402079 #592DA9 #7645CE #9A75DB #BDA6E8

Accessibility & contrast

On white

5.98
#7645CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7645CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645CE
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645CE#FFFFFF#000000##FFFFFF
##7645CE1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#5E6684
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7645ce;
/* rgb */ color: rgb(118, 69, 206);
/* oklch */ color: oklch(52.3% 0.200 294.9);
Tailwind
colors: {
  custom: {
    50: '#a47cde',
    500: '#7645ce',
    950: '#000000',
  },
}
SCSS
$custom: #7645ce;
$custom-light: #a47cde;
$custom-dark: #000000;
JSON
{
  "hex": "#7645ce",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 261.46,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52291,
    "c": 0.20025,
    "h": 294.9
  },
  "luminance": 0.12564
}

Semantic roles & 50–950 ramp

primary
#7645CE
secondary
#C0D59A
accent
#E246AA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7645CE

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

Preview Lab → · Contrast checker → · Palette generator →

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