#764BD1#764BD1

#764BD1 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.4% C 0.196 H 293.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#764BD1
RGBrgb(118, 75, 209)
HSLhsl(259, 59%, 56%)
HSVhsv(259, 64%, 82%)
CMYKcmyk(43.5%, 64.1%, 0%, 18%)
CIE-LABlab(43.49, 48.21, -63.01)
CIE-LCHlch(43.49, 79.34, 307.42°)
OKLaboklab(53.36% 0.0779 -0.18)
OKLCHoklch(53.36% 0.196 293.4)
XYZxyz(21.4928, 13.4865, 61.7800)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BD1 #A6D14B
analogous
#4B63D1 #764BD1 #B94BD1
triadic
#764BD1 #D1764B #4BD176
tetradic
#764BD1 #D14B63 #A6D14B #4BD1B9
square
#764BD1 #D14B63 #A6D14B #4BD1B9
split-complementary
#764BD1 #D1B94B #63D14B
monochromatic
#402181 #582DB1 #764BD1 #9B7CDD #C0ACEA

Accessibility & contrast

On white

5.68
#764BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#764BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BD1
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BD1#FFFFFF#000000##FFFFFF
##764BD11.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D5
Deuteranopia (green-blind)
#0064CE
Tritanopia (blue-blind)
#5C6A87
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #764bd1;
/* rgb */ color: rgb(118, 75, 209);
/* oklch */ color: oklch(53.4% 0.196 293.4);
Tailwind
colors: {
  custom: {
    50: '#a480e0',
    500: '#764bd1',
    950: '#000000',
  },
}
SCSS
$custom: #764bd1;
$custom-light: #a480e0;
$custom-dark: #000000;
JSON
{
  "hex": "#764bd1",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 209
  },
  "hsl": {
    "h": 259.254,
    "s": 59.292,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53361,
    "c": 0.19614,
    "h": 293.4
  },
  "luminance": 0.13487
}

Semantic roles & 50–950 ramp

primary
#764BD1
secondary
#C6D8A0
accent
#E245B0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #764BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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