#7642BE#7642BE

#7642BE is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.7% C 0.186 H 298.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7642BE
RGBrgb(118, 66, 190)
HSLhsl(265, 49%, 50%)
HSVhsv(265, 65%, 75%)
CMYKcmyk(37.9%, 65.3%, 0%, 25.5%)
CIE-LABlab(40.35, 47.96, -57.07)
CIE-LCHlch(40.35, 74.55, 310.04°)
OKLaboklab(50.67% 0.0896 -0.1625)
OKLCHoklch(50.67% 0.186 298.9)
XYZxyz(18.7114, 11.4655, 49.9325)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7642BE #8ABE42
analogous
#424CBE #7642BE #B442BE
triadic
#7642BE #BE7642 #42BE76
tetradic
#7642BE #BE424C #8ABE42 #42BEB4
square
#7642BE #BE424C #8ABE42 #42BEB4
split-complementary
#7642BE #BEB442 #4CBE42
monochromatic
#3E2263 #5A3291 #7642BE #9770CE #B89DDD

Accessibility & contrast

On white

6.38
#7642BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7642BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7642BE
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7642BE#FFFFFF#000000##FFFFFF
##7642BE1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#655E7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7642be;
/* rgb */ color: rgb(118, 66, 190);
/* oklch */ color: oklch(50.7% 0.186 298.9);
Tailwind
colors: {
  custom: {
    50: '#a379d2',
    500: '#7642be',
    950: '#000000',
  },
}
SCSS
$custom: #7642be;
$custom-light: #a379d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7642be",
  "rgb": {
    "r": 118,
    "g": 66,
    "b": 190
  },
  "hsl": {
    "h": 265.161,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50666,
    "c": 0.18558,
    "h": 298.9
  },
  "luminance": 0.11466
}

Semantic roles & 50–950 ramp

primary
#7642BE
secondary
#B2CA92
accent
#D84F9F
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7642BE

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

Preview Lab → · Contrast checker → · Palette generator →

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