#764BBB#764BBB

#764BBB is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.8% C 0.169 H 297.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#764BBB
RGBrgb(118, 75, 187)
HSLhsl(263, 45%, 51%)
HSVhsv(263, 60%, 73%)
CMYKcmyk(36.9%, 59.9%, 0%, 26.7%)
CIE-LABlab(41.96, 42.31, -52.73)
CIE-LCHlch(41.96, 67.60, 308.75°)
OKLaboklab(51.76% 0.0793 -0.1498)
OKLCHoklch(51.76% 0.169 297.9)
XYZxyz(18.9547, 12.4713, 48.4126)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BBB #90BB4B
analogous
#4B58BB #764BBB #AE4BBB
triadic
#764BBB #BB764B #4BBB76
tetradic
#764BBB #BB4B58 #90BB4B #4BBBAE
square
#764BBB #BB4B58 #90BB4B #4BBBAE
split-complementary
#764BBB #BBAE4B #58BB4B
monochromatic
#3E2665 #5A3792 #764BBB #9877CC #BAA4DD

Accessibility & contrast

On white

6.01
#764BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#764BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BBB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BBB#FFFFFF#000000##FFFFFF
##764BBB1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#1F62B9
Tritanopia (blue-blind)
#66637C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #764bbb;
/* rgb */ color: rgb(118, 75, 187);
/* oklch */ color: oklch(51.8% 0.169 297.9);
Tailwind
colors: {
  custom: {
    50: '#a27fd0',
    500: '#764bbb',
    950: '#000000',
  },
}
SCSS
$custom: #764bbb;
$custom-light: #a27fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#764bbb",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 263.036,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51763,
    "c": 0.16949,
    "h": 297.9
  },
  "luminance": 0.12472
}

Semantic roles & 50–950 ramp

primary
#764BBB
secondary
#B7CA98
accent
#D553A3
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #764BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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