#7646C8#7646C8

#7646C8 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.0% C 0.192 H 296.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7646C8
RGBrgb(118, 70, 200)
HSLhsl(262, 54%, 53%)
HSVhsv(262, 65%, 78%)
CMYKcmyk(41%, 65%, 0%, 21.6%)
CIE-LABlab(41.85, 48.47, -60.47)
CIE-LCHlch(41.85, 77.50, 308.71°)
OKLaboklab(51.97% 0.0841 -0.1725)
OKLCHoklch(51.97% 0.192 296)
XYZxyz(20.0840, 12.4016, 55.9680)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7646C8 #98C846
analogous
#4657C8 #7646C8 #B746C8
triadic
#7646C8 #C87646 #46C876
tetradic
#7646C8 #C84657 #98C846 #46C8B7
square
#7646C8 #C84657 #98C846 #46C8B7
split-complementary
#7646C8 #C8B746 #57C846
monochromatic
#3F2272 #5A30A1 #7646C8 #9975D6 #BCA4E4

Accessibility & contrast

On white

6.03
#7646C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7646C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7646C8
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7646C8#FFFFFF#000000##FFFFFF
##7646C81.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#616481
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7646c8;
/* rgb */ color: rgb(118, 70, 200);
/* oklch */ color: oklch(52.0% 0.192 296.0);
Tailwind
colors: {
  custom: {
    50: '#a37cda',
    500: '#7646c8',
    950: '#000000',
  },
}
SCSS
$custom: #7646c8;
$custom-light: #a37cda;
$custom-dark: #000000;
JSON
{
  "hex": "#7646c8",
  "rgb": {
    "r": 118,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 262.154,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51971,
    "c": 0.19197,
    "h": 296
  },
  "luminance": 0.12402
}

Semantic roles & 50–950 ramp

primary
#7646C8
secondary
#BCD199
accent
#DE4AA7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7646C8

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

Preview Lab → · Contrast checker → · Palette generator →

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