#7642C3#7642C3

#7642C3 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.0% C 0.191 H 297.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7642C3
RGBrgb(118, 66, 195)
HSLhsl(264, 52%, 51%)
HSVhsv(264, 66%, 76%)
CMYKcmyk(39.5%, 66.2%, 0%, 23.5%)
CIE-LABlab(40.72, 49.25, -59.40)
CIE-LCHlch(40.72, 77.17, 309.66°)
OKLaboklab(51.04% 0.089 -0.1694)
OKLCHoklch(51.04% 0.191 297.7)
XYZxyz(19.2672, 11.6878, 52.8600)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7642C3 #8FC342
analogous
#424EC3 #7642C3 #B642C3
triadic
#7642C3 #C37642 #42C376
tetradic
#7642C3 #C3424E #8FC342 #42C3B6
square
#7642C3 #C3424E #8FC342 #42C3B6
split-complementary
#7642C3 #C3B642 #4EC342
monochromatic
#3E2169 #5A3098 #7642C3 #9870D2 #B99FE0

Accessibility & contrast

On white

6.29
#7642C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7642C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7642C3
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7642C3#FFFFFF#000000##FFFFFF
##7642C31.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#63607D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7642c3;
/* rgb */ color: rgb(118, 66, 195);
/* oklch */ color: oklch(51.0% 0.191 297.7);
Tailwind
colors: {
  custom: {
    50: '#a37ad6',
    500: '#7642c3',
    950: '#000000',
  },
}
SCSS
$custom: #7642c3;
$custom-light: #a37ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#7642c3",
  "rgb": {
    "r": 118,
    "g": 66,
    "b": 195
  },
  "hsl": {
    "h": 264.186,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51041,
    "c": 0.19136,
    "h": 297.7
  },
  "luminance": 0.11688
}

Semantic roles & 50–950 ramp

primary
#7642C3
secondary
#B6CD94
accent
#DB4DA2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7642C3

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

Preview Lab → · Contrast checker → · Palette generator →

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