#7645CF#7645CF

#7645CF is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.4% C 0.201 H 294.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7645CF
RGBrgb(118, 69, 207)
HSLhsl(261, 59%, 54%)
HSVhsv(261, 67%, 81%)
CMYKcmyk(43%, 66.7%, 0%, 18.8%)
CIE-LABlab(42.17, 50.85, -63.99)
CIE-LCHlch(42.17, 81.73, 308.47°)
OKLaboklab(52.37% 0.0843 -0.1829)
OKLCHoklch(52.37% 0.201 294.8)
XYZxyz(20.8588, 12.6123, 60.3548)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645CF #9ECF45
analogous
#4559CF #7645CF #BB45CF
triadic
#7645CF #CF7645 #45CF76
tetradic
#7645CF #CF4559 #9ECF45 #45CFBB
square
#7645CF #CF4559 #9ECF45 #45CFBB
split-complementary
#7645CF #CFBB45 #59CF45
monochromatic
#40207A #592CAB #7645CF #9A76DC #BEA6E8

Accessibility & contrast

On white

5.96
#7645CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7645CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645CF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645CF#FFFFFF#000000##FFFFFF
##7645CF1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0061CC
Tritanopia (blue-blind)
#5E6684
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7645cf;
/* rgb */ color: rgb(118, 69, 207);
/* oklch */ color: oklch(52.4% 0.201 294.8);
Tailwind
colors: {
  custom: {
    50: '#a47cdf',
    500: '#7645cf',
    950: '#000000',
  },
}
SCSS
$custom: #7645cf;
$custom-light: #a47cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7645cf",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 261.304,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52368,
    "c": 0.20141,
    "h": 294.8
  },
  "luminance": 0.12613
}

Semantic roles & 50–950 ramp

primary
#7645CF
secondary
#C0D59B
accent
#E246AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7645CF

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

Preview Lab → · Contrast checker → · Palette generator →

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