#764CB0#764CB0

#764CB0 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.2% C 0.154 H 300.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#764CB0
RGBrgb(118, 76, 176)
HSLhsl(265, 40%, 49%)
HSVhsv(265, 57%, 69%)
CMYKcmyk(33%, 56.8%, 0%, 31%)
CIE-LABlab(41.46, 38.87, -47.06)
CIE-LCHlch(41.46, 61.03, 309.56°)
OKLaboklab(51.17% 0.0781 -0.1331)
OKLCHoklch(51.17% 0.154 300.4)
XYZxyz(17.8903, 12.1549, 42.4695)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764CB0 #86B04C
analogous
#4C54B0 #764CB0 #A84CB0
triadic
#764CB0 #B0764C #4CB076
tetradic
#764CB0 #B04C54 #86B04C #4CB0A8
square
#764CB0 #B04C54 #86B04C #4CB0A8
split-complementary
#764CB0 #B0A84C #54B04C
monochromatic
#3D275B #593A85 #764CB0 #9676C4 #B7A0D6

Accessibility & contrast

On white

6.12
#764CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#764CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764CB0
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764CB0#FFFFFF#000000##FFFFFF
##764CB01.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2061B3
Deuteranopia (green-blind)
#3061AE
Tritanopia (blue-blind)
#6A6076
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #764cb0;
/* rgb */ color: rgb(118, 76, 176);
/* oklch */ color: oklch(51.2% 0.154 300.4);
Tailwind
colors: {
  custom: {
    50: '#a180c8',
    500: '#764cb0',
    950: '#000000',
  },
}
SCSS
$custom: #764cb0;
$custom-light: #a180c8;
$custom-dark: #000000;
JSON
{
  "hex": "#764cb0",
  "rgb": {
    "r": 118,
    "g": 76,
    "b": 176
  },
  "hsl": {
    "h": 265.2,
    "s": 39.683,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51174,
    "c": 0.15437,
    "h": 300.4
  },
  "luminance": 0.12155
}

Semantic roles & 50–950 ramp

primary
#764CB0
secondary
#B0C395
accent
#D0589D
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #764CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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