#764BCB#764BCB

#764BCB is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.9% C 0.189 H 294.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#764BCB
RGBrgb(118, 75, 203)
HSLhsl(260, 55%, 55%)
HSVhsv(260, 63%, 80%)
CMYKcmyk(41.9%, 63.1%, 0%, 20.4%)
CIE-LABlab(43.06, 46.58, -60.25)
CIE-LCHlch(43.06, 76.16, 307.71°)
OKLaboklab(52.91% 0.0784 -0.1719)
OKLCHoklch(52.91% 0.189 294.5)
XYZxyz(20.7639, 13.1950, 57.9412)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BCB #A0CB4B
analogous
#4B60CB #764BCB #B64BCB
triadic
#764BCB #CB764B #4BCB76
tetradic
#764BCB #CB4B60 #A0CB4B #4BCBB6
square
#764BCB #CB4B60 #A0CB4B #4BCBB6
split-complementary
#764BCB #CBB64B #60CB4B
monochromatic
#402379 #5931A8 #764BCB #9A7AD9 #BEAAE6

Accessibility & contrast

On white

5.77
#764BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#764BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BCB
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BCB#FFFFFF#000000##FFFFFF
##764BCB1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#5F6884
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #764bcb;
/* rgb */ color: rgb(118, 75, 203);
/* oklch */ color: oklch(52.9% 0.189 294.5);
Tailwind
colors: {
  custom: {
    50: '#a37fdc',
    500: '#764bcb',
    950: '#000000',
  },
}
SCSS
$custom: #764bcb;
$custom-light: #a37fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#764bcb",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 260.156,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52913,
    "c": 0.18895,
    "h": 294.5
  },
  "luminance": 0.13196
}

Semantic roles & 50–950 ramp

primary
#764BCB
secondary
#C2D49E
accent
#DF49AC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #764BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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