#7645DC#7645DC

#7645DC is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.4% C 0.216 H 292.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7645DC
RGBrgb(118, 69, 220)
HSLhsl(259, 68%, 57%)
HSVhsv(259, 69%, 86%)
CMYKcmyk(46.4%, 68.6%, 0%, 13.7%)
CIE-LABlab(43.17, 54.31, -69.82)
CIE-LCHlch(43.17, 88.46, 307.88°)
OKLaboklab(53.4% 0.0824 -0.2)
OKLCHoklch(53.4% 0.216 292.4)
XYZxyz(22.5140, 13.2743, 69.0722)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645DC #ABDC45
analogous
#4560DC #7645DC #C245DC
triadic
#7645DC #DC7645 #45DC76
tetradic
#7645DC #DC4560 #ABDC45 #45DCC2
square
#7645DC #DC4560 #ABDC45 #45DCC2
split-complementary
#7645DC #DCC245 #60DC45
monochromatic
#3F1A8C #5724C0 #7645DC #9C79E6 #C2ACEF

Accessibility & contrast

On white

5.75
#7645DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7645DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645DC
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645DC#FFFFFF#000000##FFFFFF
##7645DC1.005.753.665.75
#FFFFFF5.751.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E1
Deuteranopia (green-blind)
#0063D9
Tritanopia (blue-blind)
#576B8B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7645dc;
/* rgb */ color: rgb(118, 69, 220);
/* oklch */ color: oklch(53.4% 0.216 292.4);
Tailwind
colors: {
  custom: {
    50: '#a67ce8',
    500: '#7645dc',
    950: '#000000',
  },
}
SCSS
$custom: #7645dc;
$custom-light: #a67ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#7645dc",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 220
  },
  "hsl": {
    "h": 259.47,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53397,
    "c": 0.21633,
    "h": 292.4
  },
  "luminance": 0.13275
}

Semantic roles & 50–950 ramp

primary
#7645DC
secondary
#C9DDA0
accent
#EB3DB3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7645DC

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

Preview Lab → · Contrast checker → · Palette generator →

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