#764CB7#764CB7

#764CB7 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.6% C 0.163 H 298.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#764CB7
RGBrgb(118, 76, 183)
HSLhsl(264, 43%, 51%)
HSVhsv(264, 58%, 72%)
CMYKcmyk(35.5%, 58.5%, 0%, 28.2%)
CIE-LABlab(41.91, 40.70, -50.46)
CIE-LCHlch(41.91, 64.83, 308.89°)
OKLaboklab(51.64% 0.0782 -0.1431)
OKLCHoklch(51.64% 0.163 298.6)
XYZxyz(18.6008, 12.4391, 46.2116)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CB7 #8DB74C
analogous
#4C58B7 #764CB7 #AB4CB7
triadic
#764CB7 #B7764C #4CB776
tetradic
#764CB7 #B74C58 #8DB74C #4CB7AB
square
#764CB7 #B74C58 #8DB74C #4CB7AB
split-complementary
#764CB7 #B7AB4C #58B74C
monochromatic
#3E2761 #5A398D #764CB7 #9778C9 #B9A3DA

Accessibility & contrast

On white

6.02
#764CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#764CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CB7
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CB7#FFFFFF#000000##FFFFFF
##764CB71.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1363BB
Deuteranopia (green-blind)
#2862B5
Tritanopia (blue-blind)
#68627A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #764cb7;
/* rgb */ color: rgb(118, 76, 183);
/* oklch */ color: oklch(51.6% 0.163 298.6);
Tailwind
colors: {
  custom: {
    50: '#a180cd',
    500: '#764cb7',
    950: '#000000',
  },
}
SCSS
$custom: #764cb7;
$custom-light: #a180cd;
$custom-dark: #000000;
JSON
{
  "hex": "#764cb7",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 183
  },
  "hsl": {
    "h": 263.551,
    "s": 42.629,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51643,
    "c": 0.16309,
    "h": 298.6
  },
  "luminance": 0.12439
}

Semantic roles & 50–950 ramp

primary
#764CB7
secondary
#B5C798
accent
#D255A1
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #764CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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