#764DF2#764DF2

#764DF2 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.2% C 0.232 H 287.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#764DF2
RGBrgb(118, 77, 242)
HSLhsl(255, 86%, 63%)
HSVhsv(255, 68%, 95%)
CMYKcmyk(51.2%, 68.2%, 0%, 5.1%)
CIE-LABlab(46.40, 56.21, -77.00)
CIE-LCHlch(46.40, 95.34, 306.13°)
OKLaboklab(56.25% 0.0715 -0.2211)
OKLCHoklch(56.25% 0.232 287.9)
XYZxyz(26.1474, 15.5689, 85.6145)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DF2 #C9F24D
analogous
#4D77F2 #764DF2 #C84DF2
triadic
#764DF2 #F2764D #4DF276
tetradic
#764DF2 #F24D77 #C9F24D #4DF2C8
square
#764DF2 #F24D77 #C9F24D #4DF2C8
split-complementary
#764DF2 #F2C84D #77F24D
monochromatic
#380DB7 #4A14EE #764DF2 #A286F6 #CEBFFA

Accessibility & contrast

On white

5.10
#764DF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#764DF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764DF2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DF2#FFFFFF#000000##FFFFFF
##764DF21.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F7
Deuteranopia (green-blind)
#006AEF
Tritanopia (blue-blind)
#47779A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #764df2;
/* rgb */ color: rgb(118, 77, 242);
/* oklch */ color: oklch(56.2% 0.232 287.9);
Tailwind
colors: {
  custom: {
    50: '#a882f8',
    500: '#764df2',
    950: '#000000',
  },
}
SCSS
$custom: #764df2;
$custom-light: #a882f8;
$custom-dark: #000000;
JSON
{
  "hex": "#764df2",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 242
  },
  "hsl": {
    "h": 254.909,
    "s": 86.387,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56247,
    "c": 0.23241,
    "h": 287.9
  },
  "luminance": 0.1557
}

Semantic roles & 50–950 ramp

primary
#764DF2
secondary
#DCEBAF
accent
#E303AB
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #764DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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