#764CBF#764CBF

#764CBF is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.2% C 0.173 H 296.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#764CBF
RGBrgb(118, 76, 191)
HSLhsl(262, 47%, 52%)
HSVhsv(262, 60%, 75%)
CMYKcmyk(38.2%, 60.2%, 0%, 25.1%)
CIE-LABlab(42.43, 42.82, -54.29)
CIE-LCHlch(42.43, 69.14, 308.26°)
OKLaboklab(52.2% 0.078 -0.1544)
OKLCHoklch(52.2% 0.173 296.8)
XYZxyz(19.4572, 12.7817, 50.7221)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CBF #95BF4C
analogous
#4C5CBF #764CBF #AF4CBF
triadic
#764CBF #BF764C #4CBF76
tetradic
#764CBF #BF4C5C #95BF4C #4CBFAF
square
#764CBF #BF4C5C #95BF4C #4CBFAF
split-complementary
#764CBF #BFAF4C #5CBF4C
monochromatic
#3F266B #5A3698 #764CBF #9979CF #BBA6DF

Accessibility & contrast

On white

5.90
#764CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#764CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CBF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CBF#FFFFFF#000000##FFFFFF
##764CBF1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#1963BC
Tritanopia (blue-blind)
#64657E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #764cbf;
/* rgb */ color: rgb(118, 76, 191);
/* oklch */ color: oklch(52.2% 0.173 296.8);
Tailwind
colors: {
  custom: {
    50: '#a280d3',
    500: '#764cbf',
    950: '#000000',
  },
}
SCSS
$custom: #764cbf;
$custom-light: #a280d3;
$custom-dark: #000000;
JSON
{
  "hex": "#764cbf",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 261.913,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52196,
    "c": 0.17297,
    "h": 296.8
  },
  "luminance": 0.12782
}

Semantic roles & 50–950 ramp

primary
#764CBF
secondary
#BACC9A
accent
#D751A6
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #764CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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