#764FBF#764FBF

#764FBF is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.7% C 0.169 H 296.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#764FBF
RGBrgb(118, 79, 191)
HSLhsl(261, 47%, 53%)
HSVhsv(261, 59%, 75%)
CMYKcmyk(38.2%, 58.6%, 0%, 25.1%)
CIE-LABlab(43.07, 41.13, -53.27)
CIE-LCHlch(43.07, 67.30, 307.67°)
OKLaboklab(52.66% 0.0744 -0.1514)
OKLCHoklch(52.66% 0.169 296.2)
XYZxyz(19.6687, 13.2047, 50.7926)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764FBF #98BF4F
analogous
#4F60BF #764FBF #AE4FBF
triadic
#764FBF #BF764F #4FBF76
tetradic
#764FBF #BF4F60 #98BF4F #4FBFAE
square
#764FBF #BF4F60 #98BF4F #4FBFAE
split-complementary
#764FBF #BFAE4F #60BF4F
monochromatic
#3F276C #5A3899 #764FBF #997CCF #BCA9E0

Accessibility & contrast

On white

5.77
#764FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#764FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764FBF
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764FBF#FFFFFF#000000##FFFFFF
##764FBF1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A66C3
Deuteranopia (green-blind)
#2164BD
Tritanopia (blue-blind)
#64677F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #764fbf;
/* rgb */ color: rgb(118, 79, 191);
/* oklch */ color: oklch(52.7% 0.169 296.2);
Tailwind
colors: {
  custom: {
    50: '#a282d3',
    500: '#764fbf',
    950: '#000000',
  },
}
SCSS
$custom: #764fbf;
$custom-light: #a282d3;
$custom-dark: #000000;
JSON
{
  "hex": "#764fbf",
  "rgb": {
    "r": 118,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 260.893,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52662,
    "c": 0.16866,
    "h": 296.2
  },
  "luminance": 0.13205
}

Semantic roles & 50–950 ramp

primary
#764FBF
secondary
#BCCD9D
accent
#D651A8
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #764FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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