#764FB3#764FB3

#764FB3 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.9% C 0.154 H 299.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#764FB3
RGBrgb(118, 79, 179)
HSLhsl(263, 40%, 51%)
HSVhsv(263, 56%, 70%)
CMYKcmyk(34.1%, 55.9%, 0%, 29.8%)
CIE-LABlab(42.30, 37.94, -47.47)
CIE-LCHlch(42.30, 60.77, 308.63°)
OKLaboklab(51.86% 0.0743 -0.1344)
OKLCHoklch(51.86% 0.154 299)
XYZxyz(18.4019, 12.6980, 44.1206)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764FB3 #8CB34F
analogous
#4F5AB3 #764FB3 #A84FB3
triadic
#764FB3 #B3764F #4FB376
tetradic
#764FB3 #B34F5A #8CB34F #4FB3A8
square
#764FB3 #B34F5A #8CB34F #4FB3A8
split-complementary
#764FB3 #B3A84F #5AB34F
monochromatic
#3E295F #5A3B89 #764FB3 #977AC5 #B9A4D8

Accessibility & contrast

On white

5.93
#764FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#764FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764FB3
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764FB3#FFFFFF#000000##FFFFFF
##764FB31.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2464B6
Deuteranopia (green-blind)
#3163B1
Tritanopia (blue-blind)
#696379
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #764fb3;
/* rgb */ color: rgb(118, 79, 179);
/* oklch */ color: oklch(51.9% 0.154 299.0);
Tailwind
colors: {
  custom: {
    50: '#a182ca',
    500: '#764fb3',
    950: '#000000',
  },
}
SCSS
$custom: #764fb3;
$custom-light: #a182ca;
$custom-dark: #000000;
JSON
{
  "hex": "#764fb3",
  "rgb": {
    "r": 118,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 263.4,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51855,
    "c": 0.15355,
    "h": 299
  },
  "luminance": 0.12698
}

Semantic roles & 50–950 ramp

primary
#764FB3
secondary
#B4C599
accent
#D058A1
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #764FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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