#764EB0#764EB0

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

Color values

HEX#764EB0
RGBrgb(118, 78, 176)
HSLhsl(264, 39%, 50%)
HSVhsv(264, 56%, 69%)
CMYKcmyk(33%, 55.7%, 0%, 31%)
CIE-LABlab(41.90, 37.73, -46.36)
CIE-LCHlch(41.90, 59.77, 309.14°)
OKLaboklab(51.5% 0.0755 -0.1311)
OKLCHoklch(51.5% 0.151 300)
XYZxyz(18.0302, 12.4348, 42.5161)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764EB0 #88B04E
analogous
#4E57B0 #764EB0 #A74EB0
triadic
#764EB0 #B0764E #4EB076
tetradic
#764EB0 #B04E57 #88B04E #4EB0A7
square
#764EB0 #B04E57 #88B04E #4EB0A7
split-complementary
#764EB0 #B0A74E #57B04E
monochromatic
#3D285B #5A3B86 #764EB0 #9778C3 #B7A2D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##764EB0#FFFFFF#000000##FFFFFF
##764EB01.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)
#2563B3
Deuteranopia (green-blind)
#3362AE
Tritanopia (blue-blind)
#6A6177
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #764eb0;
/* rgb */ color: rgb(118, 78, 176);
/* oklch */ color: oklch(51.5% 0.151 300.0);
Tailwind
colors: {
  custom: {
    50: '#a181c8',
    500: '#764eb0',
    950: '#000000',
  },
}
SCSS
$custom: #764eb0;
$custom-light: #a181c8;
$custom-dark: #000000;
JSON
{
  "hex": "#764eb0",
  "rgb": {
    "r": 118,
    "g": 78,
    "b": 176
  },
  "hsl": {
    "h": 264.49,
    "s": 38.583,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51496,
    "c": 0.15129,
    "h": 300
  },
  "luminance": 0.12435
}

Semantic roles & 50–950 ramp

primary
#764EB0
secondary
#B1C397
accent
#CF599F
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #764EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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