#764EC0#764EC0

#764EC0 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.6% C 0.171 H 296.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#764EC0
RGBrgb(118, 78, 192)
HSLhsl(261, 48%, 53%)
HSVhsv(261, 59%, 75%)
CMYKcmyk(38.5%, 59.4%, 0%, 24.7%)
CIE-LABlab(42.92, 41.96, -54.09)
CIE-LCHlch(42.92, 68.46, 307.81°)
OKLaboklab(52.58% 0.0756 -0.1538)
OKLCHoklch(52.58% 0.171 296.2)
XYZxyz(19.7076, 13.1057, 51.3503)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764EC0 #98C04E
analogous
#4E5FC0 #764EC0 #AF4EC0
triadic
#764EC0 #C0764E #4EC076
tetradic
#764EC0 #C04E5F #98C04E #4EC0AF
square
#764EC0 #C04E5F #98C04E #4EC0AF
split-complementary
#764EC0 #C0AF4E #5FC04E
monochromatic
#3F276D #5A379A #764EC0 #997BD0 #BCA8E0

Accessibility & contrast

On white

5.80
#764EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#764EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764EC0
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764EC0#FFFFFF#000000##FFFFFF
##764EC01.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C4
Deuteranopia (green-blind)
#1D64BD
Tritanopia (blue-blind)
#64677F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #764ec0;
/* rgb */ color: rgb(118, 78, 192);
/* oklch */ color: oklch(52.6% 0.171 296.2);
Tailwind
colors: {
  custom: {
    50: '#a281d4',
    500: '#764ec0',
    950: '#000000',
  },
}
SCSS
$custom: #764ec0;
$custom-light: #a281d4;
$custom-dark: #000000;
JSON
{
  "hex": "#764ec0",
  "rgb": {
    "r": 118,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 261.053,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52575,
    "c": 0.17135,
    "h": 296.2
  },
  "luminance": 0.13106
}

Semantic roles & 50–950 ramp

primary
#764EC0
secondary
#BCCE9C
accent
#D751A8
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #764EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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