#764EE3#764EE3

#764EE3 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.2% C 0.214 H 289.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#764EE3
RGBrgb(118, 78, 227)
HSLhsl(256, 73%, 60%)
HSVhsv(256, 66%, 89%)
CMYKcmyk(48%, 65.6%, 0%, 11%)
CIE-LABlab(45.42, 51.53, -70.14)
CIE-LCHlch(45.42, 87.04, 306.30°)
OKLaboklab(55.18% 0.0728 -0.201)
OKLCHoklch(55.18% 0.214 289.9)
XYZxyz(24.0568, 14.8454, 74.2560)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764EE3 #BBE34E
analogous
#4E71E3 #764EE3 #C04EE3
triadic
#764EE3 #E3764E #4EE376
tetradic
#764EE3 #E34E71 #BBE34E #4EE3C0
square
#764EE3 #E34E71 #BBE34E #4EE3C0
split-complementary
#764EE3 #E3C04E #71E34E
monochromatic
#3D199E #5121D3 #764EE3 #9F83EB #C8B8F4

Accessibility & contrast

On white

5.29
#764EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#764EE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764EE3
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764EE3#FFFFFF#000000##FFFFFF
##764EE31.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE8
Deuteranopia (green-blind)
#0068E0
Tritanopia (blue-blind)
#527392
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #764ee3;
/* rgb */ color: rgb(118, 78, 227);
/* oklch */ color: oklch(55.2% 0.214 289.9);
Tailwind
colors: {
  custom: {
    50: '#a682ed',
    500: '#764ee3',
    950: '#000000',
  },
}
SCSS
$custom: #764ee3;
$custom-light: #a682ed;
$custom-dark: #000000;
JSON
{
  "hex": "#764ee3",
  "rgb": {
    "r": 118,
    "g": 78,
    "b": 227
  },
  "hsl": {
    "h": 256.107,
    "s": 72.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55178,
    "c": 0.21376,
    "h": 289.9
  },
  "luminance": 0.14846
}

Semantic roles & 50–950 ramp

primary
#764EE3
secondary
#D4E3AA
accent
#EF38BE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #764EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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