#7646D2#7646D2

#7646D2 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.7% C 0.204 H 294.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7646D2
RGBrgb(118, 70, 210)
HSLhsl(261, 61%, 55%)
HSVhsv(261, 67%, 82%)
CMYKcmyk(43.8%, 66.7%, 0%, 17.6%)
CIE-LABlab(42.59, 51.12, -65.05)
CIE-LCHlch(42.59, 82.73, 308.17°)
OKLaboklab(52.74% 0.0829 -0.186)
OKLCHoklch(52.74% 0.204 294)
XYZxyz(21.2911, 12.8844, 62.3254)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7646D2 #A2D246
analogous
#465CD2 #7646D2 #BC46D2
triadic
#7646D2 #D27646 #46D276
tetradic
#7646D2 #D2465C #A2D246 #46D2BC
square
#7646D2 #D2465C #A2D246 #46D2BC
split-complementary
#7646D2 #D2BC46 #5CD246
monochromatic
#401F7F #582BB0 #7646D2 #9A77DE #BFA8EA

Accessibility & contrast

On white

5.87
#7646D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7646D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7646D2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7646D2#FFFFFF#000000##FFFFFF
##7646D21.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#5C6886
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7646d2;
/* rgb */ color: rgb(118, 70, 210);
/* oklch */ color: oklch(52.7% 0.204 294.0);
Tailwind
colors: {
  custom: {
    50: '#a57de1',
    500: '#7646d2',
    950: '#000000',
  },
}
SCSS
$custom: #7646d2;
$custom-light: #a57de1;
$custom-dark: #000000;
JSON
{
  "hex": "#7646d2",
  "rgb": {
    "r": 118,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 260.571,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52737,
    "c": 0.20364,
    "h": 294
  },
  "luminance": 0.12885
}

Semantic roles & 50–950 ramp

primary
#7646D2
secondary
#C3D79C
accent
#E444AD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7646D2

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

Preview Lab → · Contrast checker → · Palette generator →

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