#7642CE#7642CE

#7642CE is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.9% C 0.204 H 295.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7642CE
RGBrgb(118, 66, 206)
HSLhsl(262, 59%, 53%)
HSVhsv(262, 68%, 81%)
CMYKcmyk(42.7%, 68%, 0%, 19.2%)
CIE-LABlab(41.54, 52.12, -64.45)
CIE-LCHlch(41.54, 82.89, 308.96°)
OKLaboklab(51.89% 0.0875 -0.1842)
OKLCHoklch(51.89% 0.204 295.4)
XYZxyz(20.5570, 12.2037, 59.6530)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7642CE #9ACE42
analogous
#4254CE #7642CE #BC42CE
triadic
#7642CE #CE7642 #42CE76
tetradic
#7642CE #CE4254 #9ACE42 #42CEBC
square
#7642CE #CE4254 #9ACE42 #42CEBC
split-complementary
#7642CE #CEBC42 #54CE42
monochromatic
#3F1F77 #592BA7 #7642CE #9973DB #BCA3E7

Accessibility & contrast

On white

6.10
#7642CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7642CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7642CE
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7642CE#FFFFFF#000000##FFFFFF
##7642CE1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#5E6483
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7642ce;
/* rgb */ color: rgb(118, 66, 206);
/* oklch */ color: oklch(51.9% 0.204 295.4);
Tailwind
colors: {
  custom: {
    50: '#a47ade',
    500: '#7642ce',
    950: '#000000',
  },
}
SCSS
$custom: #7642ce;
$custom-light: #a47ade;
$custom-dark: #000000;
JSON
{
  "hex": "#7642ce",
  "rgb": {
    "r": 118,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 262.286,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51889,
    "c": 0.20396,
    "h": 295.4
  },
  "luminance": 0.12204
}

Semantic roles & 50–950 ramp

primary
#7642CE
secondary
#BED498
accent
#E246A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7642CE

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

Preview Lab → · Contrast checker → · Palette generator →

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