#764FBA#764FBA

#764FBA is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.3% C 0.162 H 297.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#764FBA
RGBrgb(118, 79, 186)
HSLhsl(262, 44%, 52%)
HSVhsv(262, 58%, 73%)
CMYKcmyk(36.6%, 57.5%, 0%, 27.1%)
CIE-LABlab(42.75, 39.79, -50.87)
CIE-LCHlch(42.75, 64.59, 308.03°)
OKLaboklab(52.32% 0.0744 -0.1443)
OKLCHoklch(52.32% 0.162 297.3)
XYZxyz(19.1279, 12.9884, 47.9441)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764FBA #93BA4F
analogous
#4F5EBA #764FBA #AB4FBA
triadic
#764FBA #BA764F #4FBA76
tetradic
#764FBA #BA4F5E #93BA4F #4FBAAB
square
#764FBA #BA4F5E #93BA4F #4FBAAB
split-complementary
#764FBA #BAAB4F #5EBA4F
monochromatic
#3F2866 #5A3992 #764FBA #987BCB #BAA7DC

Accessibility & contrast

On white

5.84
#764FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#764FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764FBA
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764FBA#FFFFFF#000000##FFFFFF
##764FBA1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1865BE
Deuteranopia (green-blind)
#2964B8
Tritanopia (blue-blind)
#66657D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #764fba;
/* rgb */ color: rgb(118, 79, 186);
/* oklch */ color: oklch(52.3% 0.162 297.3);
Tailwind
colors: {
  custom: {
    50: '#a282cf',
    500: '#764fba',
    950: '#000000',
  },
}
SCSS
$custom: #764fba;
$custom-light: #a282cf;
$custom-dark: #000000;
JSON
{
  "hex": "#764fba",
  "rgb": {
    "r": 118,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 261.869,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52321,
    "c": 0.16239,
    "h": 297.3
  },
  "luminance": 0.12989
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #764FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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