#764BBF#764BBF

#764BBF is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.0% C 0.174 H 297.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#764BBF
RGBrgb(118, 75, 191)
HSLhsl(262, 48%, 52%)
HSVhsv(262, 61%, 75%)
CMYKcmyk(38.2%, 60.7%, 0%, 25.1%)
CIE-LABlab(42.22, 43.37, -54.63)
CIE-LCHlch(42.22, 69.75, 308.45°)
OKLaboklab(52.04% 0.0792 -0.1554)
OKLCHoklch(52.04% 0.174 297)
XYZxyz(19.3889, 12.6450, 50.6993)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BBF #94BF4B
analogous
#4B5ABF #764BBF #B04BBF
triadic
#764BBF #BF764B #4BBF76
tetradic
#764BBF #BF4B5A #94BF4B #4BBFB0
square
#764BBF #BF4B5A #94BF4B #4BBFB0
split-complementary
#764BBF #BFB04B #5ABF4B
monochromatic
#3F266A #5A3697 #764BBF #9878CF #BBA5DF

Accessibility & contrast

On white

5.95
#764BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#764BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BBF
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BBF#FFFFFF#000000##FFFFFF
##764BBF1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#1762BC
Tritanopia (blue-blind)
#65647E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #764bbf;
/* rgb */ color: rgb(118, 75, 191);
/* oklch */ color: oklch(52.0% 0.174 297.0);
Tailwind
colors: {
  custom: {
    50: '#a27fd3',
    500: '#764bbf',
    950: '#000000',
  },
}
SCSS
$custom: #764bbf;
$custom-light: #a27fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#764bbf",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 262.241,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52044,
    "c": 0.17439,
    "h": 297
  },
  "luminance": 0.12645
}

Semantic roles & 50–950 ramp

primary
#764BBF
secondary
#B9CC9A
accent
#D751A5
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #764BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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