#764BD7#764BD7

#764BD7 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 53.8% C 0.203 H 292.3°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#764BD7
RGBrgb(118, 75, 215)
HSLhsl(258, 64%, 57%)
HSVhsv(258, 65%, 84%)
CMYKcmyk(45.1%, 65.1%, 0%, 15.7%)
CIE-LABlab(43.93, 49.84, -65.73)
CIE-LCHlch(43.93, 82.49, 307.17°)
OKLaboklab(53.82% 0.0772 -0.188)
OKLCHoklch(53.82% 0.203 292.3)
XYZxyz(22.2496, 13.7893, 65.7661)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BD7 #ACD74B
analogous
#4B66D7 #764BD7 #BC4BD7
triadic
#764BD7 #D7764B #4BD776
tetradic
#764BD7 #D74B66 #ACD74B #4BD7BC
square
#764BD7 #D74B66 #ACD74B #4BD7BC
split-complementary
#764BD7 #D7BC4B #66D74B
monochromatic
#3F1E89 #562ABB #764BD7 #9C7DE2 #C2AFED

Accessibility & contrast

On white

5.59
#764BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#764BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BD7
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BD7#FFFFFF#000000##FFFFFF
##764BD71.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#0065D4
Tritanopia (blue-blind)
#596D8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #764bd7;
/* rgb */ color: rgb(118, 75, 215);
/* oklch */ color: oklch(53.8% 0.203 292.3);
Tailwind
colors: {
  custom: {
    50: '#a580e4',
    500: '#764bd7',
    950: '#000000',
  },
}
SCSS
$custom: #764bd7;
$custom-light: #a580e4;
$custom-dark: #000000;
JSON
{
  "hex": "#764bd7",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 258.429,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53819,
    "c": 0.20326,
    "h": 292.3
  },
  "luminance": 0.1379
}

Semantic roles & 50–950 ramp

primary
#764BD7
secondary
#CADBA2
accent
#E741B4
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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