#764DDF#764DDF

#764DDF is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.7% C 0.210 H 290.7°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#764DDF
RGBrgb(118, 77, 223)
HSLhsl(257, 70%, 59%)
HSVhsv(257, 65%, 87%)
CMYKcmyk(47.1%, 65.5%, 0%, 12.5%)
CIE-LABlab(44.92, 50.96, -68.69)
CIE-LCHlch(44.92, 85.53, 306.57°)
OKLaboklab(54.72% 0.0742 -0.1967)
OKLCHoklch(54.72% 0.21 290.7)
XYZxyz(23.4406, 14.4861, 71.3588)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DDF #B6DF4D
analogous
#4D6DDF #764DDF #BF4DDF
triadic
#764DDF #DF764D #4DDF76
tetradic
#764DDF #DF4D6D #B6DF4D #4DDFBF
square
#764DDF #DF4D6D #B6DF4D #4DDFBF
split-complementary
#764DDF #DFBF4D #6DDF4D
monochromatic
#3E1B97 #5324CA #764DDF #9E81E8 #C6B5F2

Accessibility & contrast

On white

5.39
#764DDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#764DDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764DDF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DDF#FFFFFF#000000##FFFFFF
##764DDF1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE4
Deuteranopia (green-blind)
#0067DC
Tritanopia (blue-blind)
#55718F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #764ddf;
/* rgb */ color: rgb(118, 77, 223);
/* oklch */ color: oklch(54.7% 0.210 290.7);
Tailwind
colors: {
  custom: {
    50: '#a681ea',
    500: '#764ddf',
    950: '#000000',
  },
}
SCSS
$custom: #764ddf;
$custom-light: #a681ea;
$custom-dark: #000000;
JSON
{
  "hex": "#764ddf",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 223
  },
  "hsl": {
    "h": 256.849,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54723,
    "c": 0.21025,
    "h": 290.7
  },
  "luminance": 0.14487
}

Semantic roles & 50–950 ramp

primary
#764DDF
secondary
#D1E1A7
accent
#EC3BBB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #764DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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