#764FBC#764FBC

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

Color values

HEX#764FBC
RGBrgb(118, 79, 188)
HSLhsl(261, 45%, 52%)
HSVhsv(261, 58%, 74%)
CMYKcmyk(37.2%, 58%, 0%, 26.3%)
CIE-LABlab(42.87, 40.33, -51.83)
CIE-LCHlch(42.87, 65.67, 307.88°)
OKLaboklab(52.46% 0.0744 -0.1472)
OKLCHoklch(52.46% 0.165 296.8)
XYZxyz(19.3420, 13.0740, 49.0717)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764FBC #95BC4F
analogous
#4F5EBC #764FBC #AD4FBC
triadic
#764FBC #BC764F #4FBC76
tetradic
#764FBC #BC4F5E #95BC4F #4FBCAD
square
#764FBC #BC4F5E #95BC4F #4FBCAD
split-complementary
#764FBC #BCAD4F #5EBC4F
monochromatic
#3F2869 #5A3995 #764FBC #997BCD #BBA8DE

Accessibility & contrast

On white

5.81
#764FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #764FBC
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764FBC#FFFFFF#000000##FFFFFF
##764FBC1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1466C0
Deuteranopia (green-blind)
#2664BA
Tritanopia (blue-blind)
#66667E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #764fbc;
/* rgb */ color: rgb(118, 79, 188);
/* oklch */ color: oklch(52.5% 0.165 296.8);
Tailwind
colors: {
  custom: {
    50: '#a282d1',
    500: '#764fbc',
    950: '#000000',
  },
}
SCSS
$custom: #764fbc;
$custom-light: #a282d1;
$custom-dark: #000000;
JSON
{
  "hex": "#764fbc",
  "rgb": {
    "r": 118,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 261.468,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52457,
    "c": 0.16491,
    "h": 296.8
  },
  "luminance": 0.13074
}

Semantic roles & 50–950 ramp

primary
#764FBC
secondary
#BACB9C
accent
#D553A6
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #764FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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