#764EBF#764EBF

#764EBF is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.5% C 0.170 H 296.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#764EBF
RGBrgb(118, 78, 191)
HSLhsl(261, 47%, 53%)
HSVhsv(261, 59%, 75%)
CMYKcmyk(38.2%, 59.2%, 0%, 25.1%)
CIE-LABlab(42.86, 41.70, -53.61)
CIE-LCHlch(42.86, 67.92, 307.87°)
OKLaboklab(52.51% 0.0756 -0.1524)
OKLCHoklch(52.51% 0.17 296.4)
XYZxyz(19.5972, 13.0616, 50.7688)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764EBF #97BF4E
analogous
#4E5EBF #764EBF #AE4EBF
triadic
#764EBF #BF764E #4EBF76
tetradic
#764EBF #BF4E5E #97BF4E #4EBFAE
square
#764EBF #BF4E5E #97BF4E #4EBFAE
split-complementary
#764EBF #BFAE4E #5EBF4E
monochromatic
#3F276C #5A3799 #764EBF #997BCF #BCA8E0

Accessibility & contrast

On white

5.81
#764EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#764EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764EBF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764EBF#FFFFFF#000000##FFFFFF
##764EBF1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0366C3
Deuteranopia (green-blind)
#1F64BD
Tritanopia (blue-blind)
#64667F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #764ebf;
/* rgb */ color: rgb(118, 78, 191);
/* oklch */ color: oklch(52.5% 0.170 296.4);
Tailwind
colors: {
  custom: {
    50: '#a281d3',
    500: '#764ebf',
    950: '#000000',
  },
}
SCSS
$custom: #764ebf;
$custom-light: #a281d3;
$custom-dark: #000000;
JSON
{
  "hex": "#764ebf",
  "rgb": {
    "r": 118,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 261.239,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52506,
    "c": 0.17011,
    "h": 296.4
  },
  "luminance": 0.13062
}

Semantic roles & 50–950 ramp

primary
#764EBF
secondary
#BCCD9C
accent
#D751A7
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #764EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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