#7642C8#7642C8

#7642C8 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.4% C 0.197 H 296.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7642C8
RGBrgb(118, 66, 200)
HSLhsl(263, 55%, 52%)
HSVhsv(263, 67%, 78%)
CMYKcmyk(41%, 67%, 0%, 21.6%)
CIE-LABlab(41.09, 50.55, -61.71)
CIE-LCHlch(41.09, 79.77, 309.32°)
OKLaboklab(51.42% 0.0884 -0.1762)
OKLCHoklch(51.42% 0.197 296.6)
XYZxyz(19.8420, 11.9177, 55.8873)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7642C8 #94C842
analogous
#4251C8 #7642C8 #B942C8
triadic
#7642C8 #C87642 #42C876
tetradic
#7642C8 #C84251 #94C842 #42C8B9
square
#7642C8 #C84251 #94C842 #42C8B9
split-complementary
#7642C8 #C8B942 #51C842
monochromatic
#3F206F #5A2E9F #7642C8 #9871D6 #BBA1E4

Accessibility & contrast

On white

6.21
#7642C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7642C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7642C8
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7642C8#FFFFFF#000000##FFFFFF
##7642C81.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#616280
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7642c8;
/* rgb */ color: rgb(118, 66, 200);
/* oklch */ color: oklch(51.4% 0.197 296.6);
Tailwind
colors: {
  custom: {
    50: '#a47ada',
    500: '#7642c8',
    950: '#000000',
  },
}
SCSS
$custom: #7642c8;
$custom-light: #a47ada;
$custom-dark: #000000;
JSON
{
  "hex": "#7642c8",
  "rgb": {
    "r": 118,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 263.284,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51422,
    "c": 0.19711,
    "h": 296.6
  },
  "luminance": 0.11918
}

Semantic roles & 50–950 ramp

primary
#7642C8
secondary
#B9D096
accent
#DE4AA5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7642C8

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

Preview Lab → · Contrast checker → · Palette generator →

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