#764FB2#764FB2

#764FB2 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.8% C 0.152 H 299.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#764FB2
RGBrgb(118, 79, 178)
HSLhsl(264, 39%, 50%)
HSVhsv(264, 56%, 70%)
CMYKcmyk(33.7%, 55.6%, 0%, 30.2%)
CIE-LABlab(42.24, 37.68, -46.98)
CIE-LCHlch(42.24, 60.22, 308.73°)
OKLaboklab(51.79% 0.0743 -0.1329)
OKLCHoklch(51.79% 0.152 299.2)
XYZxyz(18.3011, 12.6577, 43.5898)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764FB2 #8BB24F
analogous
#4F5AB2 #764FB2 #A74FB2
triadic
#764FB2 #B2764F #4FB276
tetradic
#764FB2 #B24F5A #8BB24F #4FB2A7
square
#764FB2 #B24F5A #8BB24F #4FB2A7
split-complementary
#764FB2 #B2A74F #5AB24F
monochromatic
#3E295E #5A3C88 #764FB2 #977AC5 #B8A4D7

Accessibility & contrast

On white

5.95
#764FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#764FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764FB2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764FB2#FFFFFF#000000##FFFFFF
##764FB21.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2564B5
Deuteranopia (green-blind)
#3263B0
Tritanopia (blue-blind)
#696379
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #764fb2;
/* rgb */ color: rgb(118, 79, 178);
/* oklch */ color: oklch(51.8% 0.152 299.2);
Tailwind
colors: {
  custom: {
    50: '#a182c9',
    500: '#764fb2',
    950: '#000000',
  },
}
SCSS
$custom: #764fb2;
$custom-light: #a182c9;
$custom-dark: #000000;
JSON
{
  "hex": "#764fb2",
  "rgb": {
    "r": 118,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 263.636,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51789,
    "c": 0.15228,
    "h": 299.2
  },
  "luminance": 0.12658
}

Semantic roles & 50–950 ramp

primary
#764FB2
secondary
#B3C498
accent
#CF59A0
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #764FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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