#764CE3#764CE3

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

Color values

HEX#764CE3
RGBrgb(118, 76, 227)
HSLhsl(257, 73%, 59%)
HSVhsv(257, 67%, 89%)
CMYKcmyk(48%, 66.5%, 0%, 11%)
CIE-LABlab(45.03, 52.59, -70.78)
CIE-LCHlch(45.03, 88.18, 306.61°)
OKLaboklab(54.9% 0.0747 -0.2029)
OKLCHoklch(54.9% 0.216 290.2)
XYZxyz(23.9168, 14.5655, 74.2094)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CE3 #B9E34C
analogous
#4C6EE3 #764CE3 #C24CE3
triadic
#764CE3 #E3764C #4CE376
tetradic
#764CE3 #E34C6E #B9E34C #4CE3C2
square
#764CE3 #E34C6E #B9E34C #4CE3C2
split-complementary
#764CE3 #E3C24C #6EE34C
monochromatic
#3D189C #5221D1 #764CE3 #9F81EB #C7B6F4

Accessibility & contrast

On white

5.37
#764CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#764CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CE3
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CE3#FFFFFF#000000##FFFFFF
##764CE31.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#0067E0
Tritanopia (blue-blind)
#527191
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #764ce3;
/* rgb */ color: rgb(118, 76, 227);
/* oklch */ color: oklch(54.9% 0.216 290.2);
Tailwind
colors: {
  custom: {
    50: '#a681ed',
    500: '#764ce3',
    950: '#000000',
  },
}
SCSS
$custom: #764ce3;
$custom-light: #a681ed;
$custom-dark: #000000;
JSON
{
  "hex": "#764ce3",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 227
  },
  "hsl": {
    "h": 256.689,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54898,
    "c": 0.21617,
    "h": 290.2
  },
  "luminance": 0.14566
}

Semantic roles & 50–950 ramp

primary
#764CE3
secondary
#D2E3A8
accent
#F038BD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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