#764DE2#764DE2

#764DE2 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.0% C 0.214 H 290.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#764DE2
RGBrgb(118, 77, 226)
HSLhsl(257, 72%, 59%)
HSVhsv(257, 66%, 89%)
CMYKcmyk(47.8%, 65.9%, 0%, 11.4%)
CIE-LABlab(45.15, 51.79, -70.02)
CIE-LCHlch(45.15, 87.09, 306.49°)
OKLaboklab(54.96% 0.0739 -0.2006)
OKLCHoklch(54.96% 0.214 290.2)
XYZxyz(23.8486, 14.6494, 73.5078)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DE2 #B9E24D
analogous
#4D6FE2 #764DE2 #C14DE2
triadic
#764DE2 #E2764D #4DE276
tetradic
#764DE2 #E24D6F #B9E24D #4DE2C1
square
#764DE2 #E24D6F #B9E24D #4DE2C1
split-complementary
#764DE2 #E2C14D #6FE24D
monochromatic
#3D199B #5222D0 #764DE2 #9F82EB #C7B6F3

Accessibility & contrast

On white

5.34
#764DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#764DE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764DE2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DE2#FFFFFF#000000##FFFFFF
##764DE21.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0067DF
Tritanopia (blue-blind)
#537291
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #764de2;
/* rgb */ color: rgb(118, 77, 226);
/* oklch */ color: oklch(55.0% 0.214 290.2);
Tailwind
colors: {
  custom: {
    50: '#a681ec',
    500: '#764de2',
    950: '#000000',
  },
}
SCSS
$custom: #764de2;
$custom-light: #a681ec;
$custom-dark: #000000;
JSON
{
  "hex": "#764de2",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 226
  },
  "hsl": {
    "h": 256.51,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54958,
    "c": 0.21379,
    "h": 290.2
  },
  "luminance": 0.1465
}

Semantic roles & 50–950 ramp

primary
#764DE2
secondary
#D2E2A8
accent
#EF39BD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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