#764BE0#764BE0

#764BE0 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.5% C 0.214 H 290.8°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#764BE0
RGBrgb(118, 75, 224)
HSLhsl(257, 71%, 59%)
HSVhsv(257, 67%, 88%)
CMYKcmyk(47.3%, 66.5%, 0%, 12.2%)
CIE-LABlab(44.61, 52.29, -69.76)
CIE-LCHlch(44.61, 87.19, 306.85°)
OKLaboklab(54.52% 0.0761 -0.1999)
OKLCHoklch(54.52% 0.214 290.8)
XYZxyz(23.4380, 14.2646, 72.0250)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BE0 #B5E04B
analogous
#4B6AE0 #764BE0 #C04BE0
triadic
#764BE0 #E0764B #4BE076
tetradic
#764BE0 #E04B6A #B5E04B #4BE0C0
square
#764BE0 #E04B6A #B5E04B #4BE0C0
split-complementary
#764BE0 #E0C04B #6AE04B
monochromatic
#3E1A97 #5323CB #764BE0 #9E7FE9 #C5B3F2

Accessibility & contrast

On white

5.45
#764BE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#764BE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BE0
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BE0#FFFFFF#000000##FFFFFF
##764BE01.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE5
Deuteranopia (green-blind)
#0066DD
Tritanopia (blue-blind)
#54708F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #764be0;
/* rgb */ color: rgb(118, 75, 224);
/* oklch */ color: oklch(54.5% 0.214 290.8);
Tailwind
colors: {
  custom: {
    50: '#a680eb',
    500: '#764be0',
    950: '#000000',
  },
}
SCSS
$custom: #764be0;
$custom-light: #a680eb;
$custom-dark: #000000;
JSON
{
  "hex": "#764be0",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 224
  },
  "hsl": {
    "h": 257.315,
    "s": 70.616,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54522,
    "c": 0.21385,
    "h": 290.8
  },
  "luminance": 0.14266
}

Semantic roles & 50–950 ramp

primary
#764BE0
secondary
#D0E1A6
accent
#ED3ABA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764BE0

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

Preview Lab → · Contrast checker → · Palette generator →

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