#7645D3#7645D3

#7645D3 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.7% C 0.206 H 294.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#7645D3
RGBrgb(118, 69, 211)
HSLhsl(261, 62%, 55%)
HSVhsv(261, 67%, 83%)
CMYKcmyk(44.1%, 67.3%, 0%, 17.3%)
CIE-LABlab(42.48, 51.91, -65.80)
CIE-LCHlch(42.48, 83.81, 308.27°)
OKLaboklab(52.68% 0.0838 -0.1882)
OKLCHoklch(52.68% 0.206 294)
XYZxyz(21.3540, 12.8104, 62.9629)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645D3 #A2D345
analogous
#455BD3 #7645D3 #BD45D3
triadic
#7645D3 #D37645 #45D376
tetradic
#7645D3 #D3455B #A2D345 #45D3BD
square
#7645D3 #D3455B #A2D345 #45D3BD
split-complementary
#7645D3 #D3BD45 #5BD345
monochromatic
#401E7F #582AB1 #7645D3 #9A76DF #BFA8EA

Accessibility & contrast

On white

5.90
#7645D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7645D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645D3
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645D3#FFFFFF#000000##FFFFFF
##7645D31.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#0062D0
Tritanopia (blue-blind)
#5C6886
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7645d3;
/* rgb */ color: rgb(118, 69, 211);
/* oklch */ color: oklch(52.7% 0.206 294.0);
Tailwind
colors: {
  custom: {
    50: '#a57ce1',
    500: '#7645d3',
    950: '#000000',
  },
}
SCSS
$custom: #7645d3;
$custom-light: #a57ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#7645d3",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 260.704,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5268,
    "c": 0.20602,
    "h": 294
  },
  "luminance": 0.12811
}

Semantic roles & 50–950 ramp

primary
#7645D3
secondary
#C3D89C
accent
#E543AD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7645D3

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

Preview Lab → · Contrast checker → · Palette generator →

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