#764FBB#764FBB

#764FBB is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.4% C 0.164 H 297.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#764FBB
RGBrgb(118, 79, 187)
HSLhsl(262, 44%, 52%)
HSVhsv(262, 58%, 73%)
CMYKcmyk(36.9%, 57.8%, 0%, 26.7%)
CIE-LABlab(42.81, 40.06, -51.35)
CIE-LCHlch(42.81, 65.13, 307.96°)
OKLaboklab(52.39% 0.0744 -0.1457)
OKLCHoklch(52.39% 0.164 297.1)
XYZxyz(19.2346, 13.0311, 48.5059)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764FBB #94BB4F
analogous
#4F5EBB #764FBB #AC4FBB
triadic
#764FBB #BB764F #4FBB76
tetradic
#764FBB #BB4F5E #94BB4F #4FBBAC
square
#764FBB #BB4F5E #94BB4F #4FBBAC
split-complementary
#764FBB #BBAC4F #5EBB4F
monochromatic
#3F2868 #5A3994 #764FBB #987BCC #BBA7DD

Accessibility & contrast

On white

5.82
#764FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #764FBB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764FBB#FFFFFF#000000##FFFFFF
##764FBB1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1666BF
Deuteranopia (green-blind)
#2764B9
Tritanopia (blue-blind)
#66667D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #764fbb;
/* rgb */ color: rgb(118, 79, 187);
/* oklch */ color: oklch(52.4% 0.164 297.1);
Tailwind
colors: {
  custom: {
    50: '#a282d0',
    500: '#764fbb',
    950: '#000000',
  },
}
SCSS
$custom: #764fbb;
$custom-light: #a282d0;
$custom-dark: #000000;
JSON
{
  "hex": "#764fbb",
  "rgb": {
    "r": 118,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 261.667,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52389,
    "c": 0.16365,
    "h": 297.1
  },
  "luminance": 0.13031
}

Semantic roles & 50–950 ramp

primary
#764FBB
secondary
#B9CA9B
accent
#D454A6
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #764FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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