#764CB8#764CB8

#764CB8 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.7% C 0.164 H 298.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#764CB8
RGBrgb(118, 76, 184)
HSLhsl(263, 43%, 51%)
HSVhsv(263, 59%, 72%)
CMYKcmyk(35.9%, 58.7%, 0%, 27.8%)
CIE-LABlab(41.97, 40.96, -50.95)
CIE-LCHlch(41.97, 65.37, 308.80°)
OKLaboklab(51.71% 0.0782 -0.1446)
OKLCHoklch(51.71% 0.164 298.4)
XYZxyz(18.7052, 12.4809, 46.7617)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CB8 #8EB84C
analogous
#4C58B8 #764CB8 #AC4CB8
triadic
#764CB8 #B8764C #4CB876
tetradic
#764CB8 #B84C58 #8EB84C #4CB8AC
square
#764CB8 #B84C58 #8EB84C #4CB8AC
split-complementary
#764CB8 #B8AC4C #58B84C
monochromatic
#3E2763 #5A388E #764CB8 #9878C9 #B9A4DB

Accessibility & contrast

On white

6.01
#764CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#764CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CB8
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CB8#FFFFFF#000000##FFFFFF
##764CB81.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1163BC
Deuteranopia (green-blind)
#2662B6
Tritanopia (blue-blind)
#67637B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #764cb8;
/* rgb */ color: rgb(118, 76, 184);
/* oklch */ color: oklch(51.7% 0.164 298.4);
Tailwind
colors: {
  custom: {
    50: '#a280ce',
    500: '#764cb8',
    950: '#000000',
  },
}
SCSS
$custom: #764cb8;
$custom-light: #a280ce;
$custom-dark: #000000;
JSON
{
  "hex": "#764cb8",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 184
  },
  "hsl": {
    "h": 263.333,
    "s": 43.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51711,
    "c": 0.16433,
    "h": 298.4
  },
  "luminance": 0.12481
}

Semantic roles & 50–950 ramp

primary
#764CB8
secondary
#B5C898
accent
#D355A2
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #764CB8

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

Preview Lab → · Contrast checker → · Palette generator →

#764CB8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva