#7645FC#7645FC

#7645FC is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 56.1% C 0.252 H 287.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7645FC
RGBrgb(118, 69, 252)
HSLhsl(256, 97%, 63%)
HSVhsv(256, 73%, 99%)
CMYKcmyk(53.2%, 72.6%, 0%, 1.2%)
CIE-LABlab(45.82, 62.89, -83.56)
CIE-LCHlch(45.82, 104.59, 306.97°)
OKLaboklab(56.09% 0.0759 -0.2403)
OKLCHoklch(56.09% 0.252 287.5)
XYZxyz(27.1648, 15.1347, 93.5665)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7645FC #CBFC45
analogous
#456FFC #7645FC #D245FC
triadic
#7645FC #FC7645 #45FC76
tetradic
#7645FC #FC456F #CBFC45 #45FCD2
square
#7645FC #FC456F #CBFC45 #45FCD2
split-complementary
#7645FC #FCD245 #6FFC45
monochromatic
#3703C3 #4A09FB #7645FC #A281FD #CFBDFE

Accessibility & contrast

On white

5.21
#7645FC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7645FC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7645FC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7645FC#FFFFFF#000000##FFFFFF
##7645FC1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FF
Deuteranopia (green-blind)
#0067F9
Tritanopia (blue-blind)
#3E779D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7645fc;
/* rgb */ color: rgb(118, 69, 252);
/* oklch */ color: oklch(56.1% 0.252 287.5);
Tailwind
colors: {
  custom: {
    50: '#aa7dff',
    500: '#7645fc',
    950: '#000000',
  },
}
SCSS
$custom: #7645fc;
$custom-light: #aa7dff;
$custom-dark: #000000;
JSON
{
  "hex": "#7645fc",
  "rgb": {
    "r": 118,
    "g": 69,
    "b": 252
  },
  "hsl": {
    "h": 256.066,
    "s": 96.825,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56087,
    "c": 0.25205,
    "h": 287.5
  },
  "luminance": 0.15136
}

Semantic roles & 50–950 ramp

primary
#7645FC
secondary
#DEEFAD
accent
#E600A8
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A18
muted
#807C86

Preview Lab

Preview with #7645FC

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

Preview Lab → · Contrast checker → · Palette generator →

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