#7646C2#7646C2

#7646C2 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.185 H 297.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#7646C2
RGBrgb(118, 70, 194)
HSLhsl(263, 50%, 52%)
HSVhsv(263, 64%, 76%)
CMYKcmyk(39.2%, 63.9%, 0%, 23.9%)
CIE-LABlab(41.42, 46.89, -57.68)
CIE-LCHlch(41.42, 74.34, 309.11°)
OKLaboklab(51.52% 0.0847 -0.1643)
OKLCHoklch(51.52% 0.185 297.3)
XYZxyz(19.3965, 12.1266, 52.3472)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7646C2 #92C246
analogous
#4654C2 #7646C2 #B446C2
triadic
#7646C2 #C27646 #46C276
tetradic
#7646C2 #C24654 #92C246 #46C2B4
square
#7646C2 #C24654 #92C246 #46C2B4
split-complementary
#7646C2 #C2B446 #54C246
monochromatic
#3F236A #5A3299 #7646C2 #9874D1 #BAA2E0

Accessibility & contrast

On white

6.13
#7646C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7646C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7646C2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7646C2#FFFFFF#000000##FFFFFF
##7646C21.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#64627E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7646c2;
/* rgb */ color: rgb(118, 70, 194);
/* oklch */ color: oklch(51.5% 0.185 297.3);
Tailwind
colors: {
  custom: {
    50: '#a37cd5',
    500: '#7646c2',
    950: '#000000',
  },
}
SCSS
$custom: #7646c2;
$custom-light: #a37cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7646c2",
  "rgb": {
    "r": 118,
    "g": 70,
    "b": 194
  },
  "hsl": {
    "h": 263.226,
    "s": 50.407,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51524,
    "c": 0.18491,
    "h": 297.3
  },
  "luminance": 0.12127
}

Semantic roles & 50–950 ramp

primary
#7646C2
secondary
#B8CD97
accent
#DA4EA4
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7646C2

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

Preview Lab → · Contrast checker → · Palette generator →

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