#7646CE#7646CE

#7646CE is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.4% C 0.199 H 294.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#7646CE
RGBrgb(118, 70, 206)
HSLhsl(261, 58%, 54%)
HSVhsv(261, 66%, 81%)
CMYKcmyk(42.7%, 66%, 0%, 19.2%)
CIE-LABlab(42.29, 50.06, -63.23)
CIE-LCHlch(42.29, 80.65, 308.37°)
OKLaboklab(52.43% 0.0834 -0.1806)
OKLCHoklch(52.43% 0.199 294.8)
XYZxyz(20.7990, 12.6876, 59.7337)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7646CE #9ECE46
analogous
#465ACE #7646CE #BA46CE
triadic
#7646CE #CE7646 #46CE76
tetradic
#7646CE #CE465A #9ECE46 #46CEBA
square
#7646CE #CE465A #9ECE46 #46CEBA
split-complementary
#7646CE #CEBA46 #5ACE46
monochromatic
#402079 #592DAA #7646CE #9A76DB #BEA7E8

Accessibility & contrast

On white

5.94
#7646CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7646CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7646CE
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7646CE#FFFFFF#000000##FFFFFF
##7646CE1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#5E6684
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7646ce;
/* rgb */ color: rgb(118, 70, 206);
/* oklch */ color: oklch(52.4% 0.199 294.8);
Tailwind
colors: {
  custom: {
    50: '#a47cde',
    500: '#7646ce',
    950: '#000000',
  },
}
SCSS
$custom: #7646ce;
$custom-light: #a47cde;
$custom-dark: #000000;
JSON
{
  "hex": "#7646ce",
  "rgb": {
    "r": 118,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 261.176,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52428,
    "c": 0.19899,
    "h": 294.8
  },
  "luminance": 0.12688
}

Semantic roles & 50–950 ramp

primary
#7646CE
secondary
#C0D59B
accent
#E146AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7646CE

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

Preview Lab → · Contrast checker → · Palette generator →

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