#7642C0#7642C0

#7642C0 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.8% C 0.188 H 298.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#7642C0
RGBrgb(118, 66, 192)
HSLhsl(265, 50%, 51%)
HSVhsv(265, 66%, 75%)
CMYKcmyk(38.5%, 65.6%, 0%, 24.7%)
CIE-LABlab(40.50, 48.48, -58.01)
CIE-LCHlch(40.50, 75.60, 309.89°)
OKLaboklab(50.82% 0.0894 -0.1653)
OKLCHoklch(50.82% 0.188 298.4)
XYZxyz(18.9315, 11.5535, 51.0916)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7642C0 #8CC042
analogous
#424DC0 #7642C0 #B542C0
triadic
#7642C0 #C07642 #42C076
tetradic
#7642C0 #C0424D #8CC042 #42C0B5
square
#7642C0 #C0424D #8CC042 #42C0B5
split-complementary
#7642C0 #C0B542 #4DC042
monochromatic
#3E2266 #5A3194 #7642C0 #9770CF #B99EDF

Accessibility & contrast

On white

6.34
#7642C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7642C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7642C0
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7642C0#FFFFFF#000000##FFFFFF
##7642C01.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#655F7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7642c0;
/* rgb */ color: rgb(118, 66, 192);
/* oklch */ color: oklch(50.8% 0.188 298.4);
Tailwind
colors: {
  custom: {
    50: '#a37ad4',
    500: '#7642c0',
    950: '#000000',
  },
}
SCSS
$custom: #7642c0;
$custom-light: #a37ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#7642c0",
  "rgb": {
    "r": 118,
    "g": 66,
    "b": 192
  },
  "hsl": {
    "h": 264.762,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50815,
    "c": 0.1879,
    "h": 298.4
  },
  "luminance": 0.11554
}

Semantic roles & 50–950 ramp

primary
#7642C0
secondary
#B4CB93
accent
#DA4EA0
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7642C0

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

Preview Lab → · Contrast checker → · Palette generator →

#7642C0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva