#764BB3#764BB3

#764BB3 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.2% C 0.160 H 299.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#764BB3
RGBrgb(118, 75, 179)
HSLhsl(265, 41%, 50%)
HSVhsv(265, 58%, 70%)
CMYKcmyk(34.1%, 58.1%, 0%, 29.8%)
CIE-LABlab(41.43, 40.21, -48.87)
CIE-LCHlch(41.43, 63.29, 309.45°)
OKLaboklab(51.22% 0.0794 -0.1384)
OKLCHoklch(51.22% 0.16 299.8)
XYZxyz(18.1220, 12.1382, 44.0273)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BB3 #88B34B
analogous
#4B54B3 #764BB3 #AA4BB3
triadic
#764BB3 #B3764B #4BB376
tetradic
#764BB3 #B34B54 #88B34B #4BB3AA
square
#764BB3 #B34B54 #88B34B #4BB3AA
split-complementary
#764BB3 #B3AA4B #54B34B
monochromatic
#3D275D #5A3988 #764BB3 #9776C5 #B7A1D8

Accessibility & contrast

On white

6.13
#764BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#764BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BB3
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BB3#FFFFFF#000000##FFFFFF
##764BB31.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1861B6
Deuteranopia (green-blind)
#2B61B1
Tritanopia (blue-blind)
#696078
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #764bb3;
/* rgb */ color: rgb(118, 75, 179);
/* oklch */ color: oklch(51.2% 0.160 299.8);
Tailwind
colors: {
  custom: {
    50: '#a17fca',
    500: '#764bb3',
    950: '#000000',
  },
}
SCSS
$custom: #764bb3;
$custom-light: #a17fca;
$custom-dark: #000000;
JSON
{
  "hex": "#764bb3",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 179
  },
  "hsl": {
    "h": 264.808,
    "s": 40.945,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51215,
    "c": 0.15962,
    "h": 299.8
  },
  "luminance": 0.12138
}

Semantic roles & 50–950 ramp

primary
#764BB3
secondary
#B1C495
accent
#D1579E
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #764BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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