#7646CC#7646CC

#7646CC is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.3% C 0.197 H 295.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#7646CC
RGBrgb(118, 70, 204)
HSLhsl(261, 57%, 54%)
HSVhsv(261, 66%, 80%)
CMYKcmyk(42.2%, 65.7%, 0%, 20%)
CIE-LABlab(42.14, 49.53, -62.31)
CIE-LCHlch(42.14, 79.60, 308.48°)
OKLaboklab(52.27% 0.0837 -0.178)
OKLCHoklch(52.27% 0.197 295.2)
XYZxyz(20.5576, 12.5910, 58.4622)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7646CC #9CCC46
analogous
#4659CC #7646CC #B946CC
triadic
#7646CC #CC7646 #46CC76
tetradic
#7646CC #CC4659 #9CCC46 #46CCB9
square
#7646CC #CC4659 #9CCC46 #46CCB9
split-complementary
#7646CC #CCB946 #59CC46
monochromatic
#402177 #592EA7 #7646CC #9A76D9 #BDA6E6

Accessibility & contrast

On white

5.97
#7646CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7646CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7646CC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7646CC#FFFFFF#000000##FFFFFF
##7646CC1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#5F6683
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7646cc;
/* rgb */ color: rgb(118, 70, 204);
/* oklch */ color: oklch(52.3% 0.197 295.2);
Tailwind
colors: {
  custom: {
    50: '#a47cdc',
    500: '#7646cc',
    950: '#000000',
  },
}
SCSS
$custom: #7646cc;
$custom-light: #a47cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7646cc",
  "rgb": {
    "r": 118,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 261.493,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52274,
    "c": 0.19666,
    "h": 295.2
  },
  "luminance": 0.12592
}

Semantic roles & 50–950 ramp

primary
#7646CC
secondary
#BFD49A
accent
#E048A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7646CC

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

Preview Lab → · Contrast checker → · Palette generator →

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