#7646CD#7646CD

#7646CD is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.4% C 0.198 H 295.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#7646CD
RGBrgb(118, 70, 205)
HSLhsl(261, 57%, 54%)
HSVhsv(261, 66%, 80%)
CMYKcmyk(42.4%, 65.9%, 0%, 19.6%)
CIE-LABlab(42.21, 49.79, -62.77)
CIE-LCHlch(42.21, 80.12, 308.42°)
OKLaboklab(52.35% 0.0836 -0.1793)
OKLCHoklch(52.35% 0.198 295)
XYZxyz(20.6779, 12.6391, 59.0959)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7646CD #9DCD46
analogous
#465ACD #7646CD #BA46CD
triadic
#7646CD #CD7646 #46CD76
tetradic
#7646CD #CD465A #9DCD46 #46CDBA
square
#7646CD #CD465A #9DCD46 #46CDBA
split-complementary
#7646CD #CDBA46 #5ACD46
monochromatic
#402078 #592DA8 #7646CD #9A76DA #BDA6E7

Accessibility & contrast

On white

5.95
#7646CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7646CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7646CD
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7646CD#FFFFFF#000000##FFFFFF
##7646CD1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#5F6683
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7646cd;
/* rgb */ color: rgb(118, 70, 205);
/* oklch */ color: oklch(52.4% 0.198 295.0);
Tailwind
colors: {
  custom: {
    50: '#a47cdd',
    500: '#7646cd',
    950: '#000000',
  },
}
SCSS
$custom: #7646cd;
$custom-light: #a47cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7646cd",
  "rgb": {
    "r": 118,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 261.333,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52351,
    "c": 0.19782,
    "h": 295
  },
  "luminance": 0.1264
}

Semantic roles & 50–950 ramp

primary
#7646CD
secondary
#C0D49B
accent
#E147AA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7646CD

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

Preview Lab → · Contrast checker → · Palette generator →

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