#764DBF#764DBF

#764DBF is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.3% C 0.172 H 296.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#764DBF
RGBrgb(118, 77, 191)
HSLhsl(262, 47%, 53%)
HSVhsv(262, 60%, 75%)
CMYKcmyk(38.2%, 59.7%, 0%, 25.1%)
CIE-LABlab(42.64, 42.26, -53.95)
CIE-LCHlch(42.64, 68.53, 308.07°)
OKLaboklab(52.35% 0.0768 -0.1534)
OKLCHoklch(52.35% 0.172 296.6)
XYZxyz(19.5266, 12.9206, 50.7453)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DBF #96BF4D
analogous
#4D5DBF #764DBF #AF4DBF
triadic
#764DBF #BF764D #4DBF76
tetradic
#764DBF #BF4D5D #96BF4D #4DBFAF
square
#764DBF #BF4D5D #96BF4D #4DBFAF
split-complementary
#764DBF #BFAF4D #5DBF4D
monochromatic
#3F276B #5A3798 #764DBF #997ACF #BBA7DF

Accessibility & contrast

On white

5.86
#764DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#764DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764DBF
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DBF#FFFFFF#000000##FFFFFF
##764DBF1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#1C63BC
Tritanopia (blue-blind)
#64667F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #764dbf;
/* rgb */ color: rgb(118, 77, 191);
/* oklch */ color: oklch(52.3% 0.172 296.6);
Tailwind
colors: {
  custom: {
    50: '#a280d3',
    500: '#764dbf',
    950: '#000000',
  },
}
SCSS
$custom: #764dbf;
$custom-light: #a280d3;
$custom-dark: #000000;
JSON
{
  "hex": "#764dbf",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 191
  },
  "hsl": {
    "h": 261.579,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5235,
    "c": 0.17154,
    "h": 296.6
  },
  "luminance": 0.12921
}

Semantic roles & 50–950 ramp

primary
#764DBF
secondary
#BBCD9B
accent
#D751A7
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #764DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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