#764BE1#764BE1

#764BE1 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.6% C 0.215 H 290.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#764BE1
RGBrgb(118, 75, 225)
HSLhsl(257, 71%, 59%)
HSVhsv(257, 67%, 88%)
CMYKcmyk(47.6%, 66.7%, 0%, 11.8%)
CIE-LABlab(44.69, 52.57, -70.21)
CIE-LCHlch(44.69, 87.70, 306.82°)
OKLaboklab(54.6% 0.0759 -0.2012)
OKLCHoklch(54.6% 0.215 290.7)
XYZxyz(23.5740, 14.3191, 72.7413)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BE1 #B6E14B
analogous
#4B6BE1 #764BE1 #C14BE1
triadic
#764BE1 #E1764B #4BE176
tetradic
#764BE1 #E14B6B #B6E14B #4BE1C1
square
#764BE1 #E14B6B #B6E14B #4BE1C1
split-complementary
#764BE1 #E1C14B #6BE14B
monochromatic
#3E1998 #5322CD #764BE1 #9E7FEA #C6B4F2

Accessibility & contrast

On white

5.43
#764BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#764BE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BE1
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BE1#FFFFFF#000000##FFFFFF
##764BE11.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE6
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#537090
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #764be1;
/* rgb */ color: rgb(118, 75, 225);
/* oklch */ color: oklch(54.6% 0.215 290.7);
Tailwind
colors: {
  custom: {
    50: '#a680eb',
    500: '#764be1',
    950: '#000000',
  },
}
SCSS
$custom: #764be1;
$custom-light: #a680eb;
$custom-dark: #000000;
JSON
{
  "hex": "#764be1",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 257.2,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54602,
    "c": 0.21502,
    "h": 290.7
  },
  "luminance": 0.1432
}

Semantic roles & 50–950 ramp

primary
#764BE1
secondary
#D1E1A6
accent
#EE3ABA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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