#764BE6#764BE6

#764BE6 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.0% C 0.221 H 289.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#764BE6
RGBrgb(118, 75, 230)
HSLhsl(257, 76%, 60%)
HSVhsv(257, 67%, 90%)
CMYKcmyk(48.7%, 67.4%, 0%, 9.8%)
CIE-LABlab(45.08, 53.94, -72.41)
CIE-LCHlch(45.08, 90.29, 306.68°)
OKLaboklab(55% 0.0752 -0.2076)
OKLCHoklch(55% 0.221 289.9)
XYZxyz(24.2661, 14.5959, 76.3863)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BE6 #BBE64B
analogous
#4B6EE6 #764BE6 #C34BE6
triadic
#764BE6 #E6764B #4BE676
tetradic
#764BE6 #E64B6E #BBE64B #4BE6C3
square
#764BE6 #E64B6E #BBE64B #4BE6C3
split-complementary
#764BE6 #E6C34B #6EE64B
monochromatic
#3D16A0 #511ED6 #764BE6 #9F81ED #C8B6F5

Accessibility & contrast

On white

5.36
#764BE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#764BE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BE6
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BE6#FFFFFF#000000##FFFFFF
##764BE61.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEB
Deuteranopia (green-blind)
#0067E3
Tritanopia (blue-blind)
#507293
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #764be6;
/* rgb */ color: rgb(118, 75, 230);
/* oklch */ color: oklch(55.0% 0.221 289.9);
Tailwind
colors: {
  custom: {
    50: '#a780ef',
    500: '#764be6',
    950: '#000000',
  },
}
SCSS
$custom: #764be6;
$custom-light: #a780ef;
$custom-dark: #000000;
JSON
{
  "hex": "#764be6",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 230
  },
  "hsl": {
    "h": 256.645,
    "s": 75.61,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55001,
    "c": 0.22084,
    "h": 289.9
  },
  "luminance": 0.14597
}

Semantic roles & 50–950 ramp

primary
#764BE6
secondary
#D4E4A8
accent
#F236BE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #764BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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