#7646CB#7646CB

#7646CB is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.2% C 0.195 H 295.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7646CB
RGBrgb(118, 70, 203)
HSLhsl(262, 56%, 54%)
HSVhsv(262, 66%, 80%)
CMYKcmyk(41.9%, 65.5%, 0%, 20.4%)
CIE-LABlab(42.07, 49.26, -61.85)
CIE-LCHlch(42.07, 79.07, 308.53°)
OKLaboklab(52.2% 0.0838 -0.1766)
OKLCHoklch(52.2% 0.195 295.4)
XYZxyz(20.4380, 12.5432, 57.8326)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7646CB #9BCB46
analogous
#4658CB #7646CB #B846CB
triadic
#7646CB #CB7646 #46CB76
tetradic
#7646CB #CB4658 #9BCB46 #46CBB8
square
#7646CB #CB4658 #9BCB46 #46CBB8
split-complementary
#7646CB #CBB846 #58CB46
monochromatic
#402176 #592EA5 #7646CB #9976D8 #BDA6E6

Accessibility & contrast

On white

5.98
#7646CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7646CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7646CB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7646CB#FFFFFF#000000##FFFFFF
##7646CB1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7646cb;
/* rgb */ color: rgb(118, 70, 203);
/* oklch */ color: oklch(52.2% 0.195 295.4);
Tailwind
colors: {
  custom: {
    50: '#a47cdc',
    500: '#7646cb',
    950: '#000000',
  },
}
SCSS
$custom: #7646cb;
$custom-light: #a47cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7646cb",
  "rgb": {
    "r": 118,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 261.654,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52198,
    "c": 0.19549,
    "h": 295.4
  },
  "luminance": 0.12544
}

Semantic roles & 50–950 ramp

primary
#7646CB
secondary
#BED39A
accent
#DF48A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7646CB

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

Preview Lab → · Contrast checker → · Palette generator →

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