#7645CA#7645CA

#7645CA is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.0% C 0.196 H 295.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7645CA
RGBrgb(118, 69, 202)
HSLhsl(262, 56%, 53%)
HSVhsv(262, 66%, 79%)
CMYKcmyk(41.6%, 65.8%, 0%, 20.8%)
CIE-LABlab(41.80, 49.52, -61.71)
CIE-LCHlch(41.80, 79.12, 308.75°)
OKLaboklab(51.98% 0.085 -0.1762)
OKLCHoklch(51.98% 0.196 295.8)
XYZxyz(20.2572, 12.3716, 57.1863)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645CA #99CA45
analogous
#4556CA #7645CA #B845CA
triadic
#7645CA #CA7645 #45CA76
tetradic
#7645CA #CA4556 #99CA45 #45CAB8
square
#7645CA #CA4556 #99CA45 #45CAB8
split-complementary
#7645CA #CAB845 #56CA45
monochromatic
#3F2174 #5A2FA3 #7645CA #9975D8 #BCA4E5

Accessibility & contrast

On white

6.04
#7645CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7645CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645CA
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645CA#FFFFFF#000000##FFFFFF
##7645CA1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#606482
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7645ca;
/* rgb */ color: rgb(118, 69, 202);
/* oklch */ color: oklch(52.0% 0.196 295.8);
Tailwind
colors: {
  custom: {
    50: '#a47cdb',
    500: '#7645ca',
    950: '#000000',
  },
}
SCSS
$custom: #7645ca;
$custom-light: #a47cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7645ca",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 262.105,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51983,
    "c": 0.1956,
    "h": 295.8
  },
  "luminance": 0.12372
}

Semantic roles & 50–950 ramp

primary
#7645CA
secondary
#BDD299
accent
#DF49A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7645CA

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

Preview Lab → · Contrast checker → · Palette generator →

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