#7642BD#7642BD

#7642BD is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.6% C 0.184 H 299.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#7642BD
RGBrgb(118, 66, 189)
HSLhsl(265, 48%, 50%)
HSVhsv(265, 65%, 74%)
CMYKcmyk(37.6%, 65.1%, 0%, 25.9%)
CIE-LABlab(40.28, 47.70, -56.60)
CIE-LCHlch(40.28, 74.02, 310.13°)
OKLaboklab(50.59% 0.0897 -0.1611)
OKLCHoklch(50.59% 0.184 299.1)
XYZxyz(18.6024, 11.4219, 49.3588)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7642BD #89BD42
analogous
#424CBD #7642BD #B342BD
triadic
#7642BD #BD7642 #42BD76
tetradic
#7642BD #BD424C #89BD42 #42BDB3
square
#7642BD #BD424C #89BD42 #42BDB3
split-complementary
#7642BD #BDB342 #4CBD42
monochromatic
#3D2262 #5A3290 #7642BD #976FCD #B89DDD

Accessibility & contrast

On white

6.39
#7642BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7642BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7642BD
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7642BD#FFFFFF#000000##FFFFFF
##7642BD1.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#665E7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7642bd;
/* rgb */ color: rgb(118, 66, 189);
/* oklch */ color: oklch(50.6% 0.184 299.1);
Tailwind
colors: {
  custom: {
    50: '#a379d2',
    500: '#7642bd',
    950: '#000000',
  },
}
SCSS
$custom: #7642bd;
$custom-light: #a379d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7642bd",
  "rgb": {
    "r": 118,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 265.366,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.50592,
    "c": 0.18442,
    "h": 299.1
  },
  "luminance": 0.11422
}

Semantic roles & 50–950 ramp

primary
#7642BD
secondary
#B2C992
accent
#D8509E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7642BD

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

Preview Lab → · Contrast checker → · Palette generator →

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