#764BE8#764BE8

#764BE8 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.2% C 0.223 H 289.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#764BE8
RGBrgb(118, 75, 232)
HSLhsl(256, 77%, 60%)
HSVhsv(256, 68%, 91%)
CMYKcmyk(49.1%, 67.7%, 0%, 9%)
CIE-LABlab(45.23, 54.48, -73.28)
CIE-LCHlch(45.23, 91.32, 306.63°)
OKLaboklab(55.16% 0.0749 -0.2102)
OKLCHoklch(55.16% 0.223 289.6)
XYZxyz(24.5486, 14.7089, 77.8739)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BE8 #BDE84B
analogous
#4B6EE8 #764BE8 #C44BE8
triadic
#764BE8 #E8764B #4BE876
tetradic
#764BE8 #E84B6E #BDE84B #4BE8C4
square
#764BE8 #E84B6E #BDE84B #4BE8C4
split-complementary
#764BE8 #E8C44B #6EE84B
monochromatic
#3C15A4 #501CDA #764BE8 #9F81EF #C9B8F6

Accessibility & contrast

On white

5.33
#764BE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#764BE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BE8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BE8#FFFFFF#000000##FFFFFF
##764BE81.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EED
Deuteranopia (green-blind)
#0067E5
Tritanopia (blue-blind)
#4F7394
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #764be8;
/* rgb */ color: rgb(118, 75, 232);
/* oklch */ color: oklch(55.2% 0.223 289.6);
Tailwind
colors: {
  custom: {
    50: '#a780f0',
    500: '#764be8',
    950: '#000000',
  },
}
SCSS
$custom: #764be8;
$custom-light: #a780f0;
$custom-dark: #000000;
JSON
{
  "hex": "#764be8",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 232
  },
  "hsl": {
    "h": 256.433,
    "s": 77.34,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55163,
    "c": 0.22315,
    "h": 289.6
  },
  "luminance": 0.1471
}

Semantic roles & 50–950 ramp

primary
#764BE8
secondary
#D5E6A9
accent
#DA0CA1
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A17
muted
#807C85

Preview Lab

Preview with #764BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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