#764DFF#764DFF

#764DFF is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.3% C 0.247 H 286.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#764DFF
RGBrgb(118, 77, 255)
HSLhsl(254, 100%, 65%)
HSVhsv(254, 70%, 100%)
CMYKcmyk(53.7%, 69.8%, 0%, 0%)
CIE-LABlab(47.47, 59.80, -82.53)
CIE-LCHlch(47.47, 101.92, 305.93°)
OKLaboklab(57.33% 0.0692 -0.2374)
OKLCHoklch(57.33% 0.247 286.2)
XYZxyz(28.1697, 16.3778, 96.2652)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DFF #D6FF4D
analogous
#4D7DFF #764DFF #CF4DFF
triadic
#764DFF #FF764D #4DFF76
tetradic
#764DFF #FF4D7D #D6FF4D #4DFFCF
square
#764DFF #FF4D7D #D6FF4D #4DFFCF
split-complementary
#764DFF #FFCF4D #7DFF4D
monochromatic
#3000D2 #4710FF #764DFF #A58AFF #D4C7FF

Accessibility & contrast

On white

4.91
#764DFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#764DFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764DFF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DFF#FFFFFF#000000##FFFFFF
##764DFF1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#006BFC
Tritanopia (blue-blind)
#3A7CA1
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #764dff;
/* rgb */ color: rgb(118, 77, 255);
/* oklch */ color: oklch(57.3% 0.247 286.2);
Tailwind
colors: {
  custom: {
    50: '#aa82ff',
    500: '#764dff',
    950: '#000000',
  },
}
SCSS
$custom: #764dff;
$custom-light: #aa82ff;
$custom-dark: #000000;
JSON
{
  "hex": "#764dff",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 255
  },
  "hsl": {
    "h": 253.82,
    "s": 100,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57332,
    "c": 0.24723,
    "h": 286.2
  },
  "luminance": 0.16379
}

Semantic roles & 50–950 ramp

primary
#764DFF
secondary
#E4F2B6
accent
#E600B1
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #764DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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