#764FBD#764FBD

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

Color values

HEX#764FBD
RGBrgb(118, 79, 189)
HSLhsl(261, 45%, 53%)
HSVhsv(261, 58%, 74%)
CMYKcmyk(37.6%, 58.2%, 0%, 25.9%)
CIE-LABlab(42.94, 40.60, -52.31)
CIE-LCHlch(42.94, 66.21, 307.81°)
OKLaboklab(52.53% 0.0744 -0.1486)
OKLCHoklch(52.53% 0.166 296.6)
XYZxyz(19.4502, 13.1173, 49.6414)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764FBD #96BD4F
analogous
#4F5FBD #764FBD #AD4FBD
triadic
#764FBD #BD764F #4FBD76
tetradic
#764FBD #BD4F5F #96BD4F #4FBDAD
square
#764FBD #BD4F5F #96BD4F #4FBDAD
split-complementary
#764FBD #BDAD4F #5FBD4F
monochromatic
#3F286A #5A3896 #764FBD #997CCE #BBA8DE

Accessibility & contrast

On white

5.80
#764FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#764FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764FBD
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764FBD#FFFFFF#000000##FFFFFF
##764FBD1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1166C1
Deuteranopia (green-blind)
#2464BB
Tritanopia (blue-blind)
#65667E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #764fbd;
/* rgb */ color: rgb(118, 79, 189);
/* oklch */ color: oklch(52.5% 0.166 296.6);
Tailwind
colors: {
  custom: {
    50: '#a282d1',
    500: '#764fbd',
    950: '#000000',
  },
}
SCSS
$custom: #764fbd;
$custom-light: #a282d1;
$custom-dark: #000000;
JSON
{
  "hex": "#764fbd",
  "rgb": {
    "r": 118,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 261.273,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52525,
    "c": 0.16616,
    "h": 296.6
  },
  "luminance": 0.13118
}

Semantic roles & 50–950 ramp

primary
#764FBD
secondary
#BBCC9C
accent
#D553A7
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #764FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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