#764BE3#764BE3

#764BE3 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.8% C 0.217 H 290.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#764BE3
RGBrgb(118, 75, 227)
HSLhsl(257, 73%, 59%)
HSVhsv(257, 67%, 89%)
CMYKcmyk(48%, 67%, 0%, 11%)
CIE-LABlab(44.84, 53.11, -71.09)
CIE-LCHlch(44.84, 88.74, 306.77°)
OKLaboklab(54.76% 0.0756 -0.2038)
OKLCHoklch(54.76% 0.217 290.4)
XYZxyz(23.8485, 14.4288, 74.1866)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764BE3 #B8E34B
analogous
#4B6CE3 #764BE3 #C24BE3
triadic
#764BE3 #E3764B #4BE376
tetradic
#764BE3 #E34B6C #B8E34B #4BE3C2
square
#764BE3 #E34B6C #B8E34B #4BE3C2
split-complementary
#764BE3 #E3C24B #6CE34B
monochromatic
#3D189B #5220D0 #764BE3 #9E80EB #C7B5F3

Accessibility & contrast

On white

5.40
#764BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#764BE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764BE3
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764BE3#FFFFFF#000000##FFFFFF
##764BE31.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#0067E0
Tritanopia (blue-blind)
#527191
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #764be3;
/* rgb */ color: rgb(118, 75, 227);
/* oklch */ color: oklch(54.8% 0.217 290.4);
Tailwind
colors: {
  custom: {
    50: '#a680ed',
    500: '#764be3',
    950: '#000000',
  },
}
SCSS
$custom: #764be3;
$custom-light: #a680ed;
$custom-dark: #000000;
JSON
{
  "hex": "#764be3",
  "rgb": {
    "r": 118,
    "g": 75,
    "b": 227
  },
  "hsl": {
    "h": 256.974,
    "s": 73.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54761,
    "c": 0.21735,
    "h": 290.4
  },
  "luminance": 0.1443
}

Semantic roles & 50–950 ramp

primary
#764BE3
secondary
#D2E3A7
accent
#F038BC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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