#7646CA#7646CA

#7646CA is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.1% C 0.194 H 295.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7646CA
RGBrgb(118, 70, 202)
HSLhsl(262, 55%, 53%)
HSVhsv(262, 65%, 79%)
CMYKcmyk(41.6%, 65.3%, 0%, 20.8%)
CIE-LABlab(41.99, 49.00, -61.40)
CIE-LCHlch(41.99, 78.55, 308.59°)
OKLaboklab(52.12% 0.0839 -0.1753)
OKLCHoklch(52.12% 0.194 295.6)
XYZxyz(20.3192, 12.4957, 57.2070)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7646CA #9ACA46
analogous
#4658CA #7646CA #B846CA
triadic
#7646CA #CA7646 #46CA76
tetradic
#7646CA #CA4658 #9ACA46 #46CAB8
square
#7646CA #CA4658 #9ACA46 #46CAB8
split-complementary
#7646CA #CAB846 #58CA46
monochromatic
#3F2174 #592FA4 #7646CA #9976D8 #BCA5E5

Accessibility & contrast

On white

6.00
#7646CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7646CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7646CA
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7646CA#FFFFFF#000000##FFFFFF
##7646CA1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#606582
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7646ca;
/* rgb */ color: rgb(118, 70, 202);
/* oklch */ color: oklch(52.1% 0.194 295.6);
Tailwind
colors: {
  custom: {
    50: '#a47cdb',
    500: '#7646ca',
    950: '#000000',
  },
}
SCSS
$custom: #7646ca;
$custom-light: #a47cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7646ca",
  "rgb": {
    "r": 118,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 261.818,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52122,
    "c": 0.19432,
    "h": 295.6
  },
  "luminance": 0.12496
}

Semantic roles & 50–950 ramp

primary
#7646CA
secondary
#BED29A
accent
#DF49A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7646CA

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

Preview Lab → · Contrast checker → · Palette generator →

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