#7646FD#7646FD

#7646FD is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.3% C 0.252 H 287.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7646FD
RGBrgb(118, 70, 253)
HSLhsl(256, 98%, 63%)
HSVhsv(256, 72%, 99%)
CMYKcmyk(53.4%, 72.3%, 0%, 0.8%)
CIE-LABlab(46.07, 62.69, -83.70)
CIE-LCHlch(46.07, 104.57, 306.83°)
OKLaboklab(56.29% 0.075 -0.2407)
OKLCHoklch(56.29% 0.252 287.3)
XYZxyz(27.3857, 15.3223, 94.4239)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7646FD #CDFD46
analogous
#4671FD #7646FD #D246FD
triadic
#7646FD #FD7646 #46FD76
tetradic
#7646FD #FD4671 #CDFD46 #46FDD2
square
#7646FD #FD4671 #CDFD46 #46FDD2
split-complementary
#7646FD #FDD246 #71FD46
monochromatic
#3602C6 #4909FC #7646FD #A383FE #D0BFFE

Accessibility & contrast

On white

5.17
#7646FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7646FD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7646FD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7646FD#FFFFFF#000000##FFFFFF
##7646FD1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FF
Deuteranopia (green-blind)
#0068FA
Tritanopia (blue-blind)
#3D789E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7646fd;
/* rgb */ color: rgb(118, 70, 253);
/* oklch */ color: oklch(56.3% 0.252 287.3);
Tailwind
colors: {
  custom: {
    50: '#aa7eff',
    500: '#7646fd',
    950: '#000000',
  },
}
SCSS
$custom: #7646fd;
$custom-light: #aa7eff;
$custom-dark: #000000;
JSON
{
  "hex": "#7646fd",
  "rgb": {
    "r": 118,
    "g": 70,
    "b": 253
  },
  "hsl": {
    "h": 255.738,
    "s": 97.861,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56293,
    "c": 0.25215,
    "h": 287.3
  },
  "luminance": 0.15324
}

Semantic roles & 50–950 ramp

primary
#7646FD
secondary
#DFF0AF
accent
#E600A9
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A18
muted
#807C86

Preview Lab

Preview with #7646FD

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

Preview Lab → · Contrast checker → · Palette generator →

#7646FD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva