#764BF8#764BF8

#764BF8 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.5% C 0.241 H 287.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#764BF8
RGBrgb(118, 75, 248)
HSLhsl(255, 93%, 63%)
HSVhsv(255, 70%, 97%)
CMYKcmyk(52.4%, 69.8%, 0%, 2.7%)
CIE-LABlab(46.52, 58.88, -80.17)
CIE-LCHlch(46.52, 99.47, 306.29°)
OKLaboklab(56.48% 0.0721 -0.2304)
OKLCHoklch(56.48% 0.241 287.4)
XYZxyz(26.9256, 15.6597, 90.3926)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BF8 #CDF84B
analogous
#4B76F8 #764BF8 #CC4BF8
triadic
#764BF8 #F8764B #4BF876
tetradic
#764BF8 #F84B76 #CDF84B #4BF8CC
square
#764BF8 #F84B76 #CDF84B #4BF8CC
split-complementary
#764BF8 #F8CC4B #76F84B
monochromatic
#3608C1 #4910F6 #764BF8 #A386FA #D0C1FD

Accessibility & contrast

On white

5.08
#764BF8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#764BF8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BF8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BF8#FFFFFF#000000##FFFFFF
##764BF81.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072FD
Deuteranopia (green-blind)
#0069F5
Tritanopia (blue-blind)
#42799C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #764bf8;
/* rgb */ color: rgb(118, 75, 248);
/* oklch */ color: oklch(56.5% 0.241 287.4);
Tailwind
colors: {
  custom: {
    50: '#a981fc',
    500: '#764bf8',
    950: '#000000',
  },
}
SCSS
$custom: #764bf8;
$custom-light: #a981fc;
$custom-dark: #000000;
JSON
{
  "hex": "#764bf8",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 248
  },
  "hsl": {
    "h": 254.913,
    "s": 92.513,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56484,
    "c": 0.24143,
    "h": 287.4
  },
  "luminance": 0.15661
}

Semantic roles & 50–950 ramp

primary
#764BF8
secondary
#DFEEB1
accent
#E600AC
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #764BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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