#7646CF#7646CF

#7646CF is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.5% C 0.200 H 294.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7646CF
RGBrgb(118, 70, 207)
HSLhsl(261, 59%, 54%)
HSVhsv(261, 66%, 81%)
CMYKcmyk(43%, 66.2%, 0%, 18.8%)
CIE-LABlab(42.36, 50.33, -63.68)
CIE-LCHlch(42.36, 81.17, 308.32°)
OKLaboklab(52.51% 0.0833 -0.182)
OKLCHoklch(52.51% 0.2 294.6)
XYZxyz(20.9208, 12.7363, 60.3755)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7646CF #9FCF46
analogous
#465BCF #7646CF #BB46CF
triadic
#7646CF #CF7646 #46CF76
tetradic
#7646CF #CF465B #9FCF46 #46CFBB
square
#7646CF #CF465B #9FCF46 #46CFBB
split-complementary
#7646CF #CFBB46 #5BCF46
monochromatic
#40207B #592CAB #7646CF #9A77DC #BEA7E8

Accessibility & contrast

On white

5.92
#7646CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7646CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7646CF
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7646CF#FFFFFF#000000##FFFFFF
##7646CF1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#5E6785
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7646cf;
/* rgb */ color: rgb(118, 70, 207);
/* oklch */ color: oklch(52.5% 0.200 294.6);
Tailwind
colors: {
  custom: {
    50: '#a47cdf',
    500: '#7646cf',
    950: '#000000',
  },
}
SCSS
$custom: #7646cf;
$custom-light: #a47cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7646cf",
  "rgb": {
    "r": 118,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 261.022,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52505,
    "c": 0.20015,
    "h": 294.6
  },
  "luminance": 0.12737
}

Semantic roles & 50–950 ramp

primary
#7646CF
secondary
#C1D59B
accent
#E246AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7646CF

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

Preview Lab → · Contrast checker → · Palette generator →

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