#7646D8#7646D8

#7646D8 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.2% C 0.211 H 292.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7646D8
RGBrgb(118, 70, 216)
HSLhsl(260, 65%, 56%)
HSVhsv(260, 68%, 85%)
CMYKcmyk(45.4%, 67.6%, 0%, 15.3%)
CIE-LABlab(43.05, 52.73, -67.74)
CIE-LCHlch(43.05, 85.85, 307.90°)
OKLaboklab(53.21% 0.0821 -0.1939)
OKLCHoklch(53.21% 0.211 292.9)
XYZxyz(22.0526, 13.1890, 66.3363)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7646D8 #A8D846
analogous
#465FD8 #7646D8 #BF46D8
triadic
#7646D8 #D87646 #46D876
tetradic
#7646D8 #D8465F #A8D846 #46D8BF
square
#7646D8 #D8465F #A8D846 #46D8BF
split-complementary
#7646D8 #D8BF46 #5FD846
monochromatic
#401C87 #5727BA #7646D8 #9B79E3 #C1ABED

Accessibility & contrast

On white

5.77
#7646D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7646D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7646D8
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7646D8#FFFFFF#000000##FFFFFF
##7646D81.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DC
Deuteranopia (green-blind)
#0063D5
Tritanopia (blue-blind)
#596A89
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7646d8;
/* rgb */ color: rgb(118, 70, 216);
/* oklch */ color: oklch(53.2% 0.211 292.9);
Tailwind
colors: {
  custom: {
    50: '#a57de5',
    500: '#7646d8',
    950: '#000000',
  },
}
SCSS
$custom: #7646d8;
$custom-light: #a57de5;
$custom-dark: #000000;
JSON
{
  "hex": "#7646d8",
  "rgb": {
    "r": 118,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 259.726,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53209,
    "c": 0.21057,
    "h": 292.9
  },
  "luminance": 0.1319
}

Semantic roles & 50–950 ramp

primary
#7646D8
secondary
#C7DB9F
accent
#E840B1
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7646D8

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

Preview Lab → · Contrast checker → · Palette generator →

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