#764BE9#764BE9

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

Color values

HEX#764BE9
RGBrgb(118, 75, 233)
HSLhsl(256, 78%, 60%)
HSVhsv(256, 68%, 91%)
CMYKcmyk(49.4%, 67.8%, 0%, 8.6%)
CIE-LABlab(45.31, 54.76, -73.72)
CIE-LCHlch(45.31, 91.83, 306.60°)
OKLaboklab(55.24% 0.0747 -0.2115)
OKLCHoklch(55.24% 0.224 289.5)
XYZxyz(24.6910, 14.7658, 78.6241)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BE9 #BEE94B
analogous
#4B6FE9 #764BE9 #C54BE9
triadic
#764BE9 #E9764B #4BE976
tetradic
#764BE9 #E94B6F #BEE94B #4BE9C5
square
#764BE9 #E94B6F #BEE94B #4BE9C5
split-complementary
#764BE9 #E9C54B #6FE94B
monochromatic
#3C14A5 #4F1BDC #764BE9 #A082F0 #C9B8F6

Accessibility & contrast

On white

5.31
#764BE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#764BE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BE9
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BE9#FFFFFF#000000##FFFFFF
##764BE91.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEE
Deuteranopia (green-blind)
#0067E6
Tritanopia (blue-blind)
#4E7394
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #764be9;
/* rgb */ color: rgb(118, 75, 233);
/* oklch */ color: oklch(55.2% 0.224 289.5);
Tailwind
colors: {
  custom: {
    50: '#a780f1',
    500: '#764be9',
    950: '#000000',
  },
}
SCSS
$custom: #764be9;
$custom-light: #a780f1;
$custom-dark: #000000;
JSON
{
  "hex": "#764be9",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 233
  },
  "hsl": {
    "h": 256.329,
    "s": 78.218,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55244,
    "c": 0.2243,
    "h": 289.5
  },
  "luminance": 0.14767
}

Semantic roles & 50–950 ramp

primary
#764BE9
secondary
#D6E6AA
accent
#DA0BA2
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A17
muted
#807C85

Preview Lab

Preview with #764BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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