#764DC2#764DC2

#764DC2 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.6% C 0.175 H 296.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#764DC2
RGBrgb(118, 77, 194)
HSLhsl(261, 49%, 53%)
HSVhsv(261, 60%, 76%)
CMYKcmyk(39.2%, 60.3%, 0%, 23.9%)
CIE-LABlab(42.84, 43.06, -55.38)
CIE-LCHlch(42.84, 70.15, 307.87°)
OKLaboklab(52.56% 0.0767 -0.1576)
OKLCHoklch(52.56% 0.175 296)
XYZxyz(19.8602, 13.0540, 52.5018)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#764DC2 #99C24D
analogous
#4D5EC2 #764DC2 #B14DC2
triadic
#764DC2 #C2764D #4DC276
tetradic
#764DC2 #C24D5E #99C24D #4DC2B1
square
#764DC2 #C24D5E #99C24D #4DC2B1
split-complementary
#764DC2 #C2B14D #5EC24D
monochromatic
#3F266F #5A369C #764DC2 #997BD2 #BCA8E1

Accessibility & contrast

On white

5.82
#764DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#764DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #764DC2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##764DC2#FFFFFF#000000##FFFFFF
##764DC21.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#1564BF
Tritanopia (blue-blind)
#636780
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #764dc2;
/* rgb */ color: rgb(118, 77, 194);
/* oklch */ color: oklch(52.6% 0.175 296.0);
Tailwind
colors: {
  custom: {
    50: '#a281d5',
    500: '#764dc2',
    950: '#000000',
  },
}
SCSS
$custom: #764dc2;
$custom-light: #a281d5;
$custom-dark: #000000;
JSON
{
  "hex": "#764dc2",
  "rgb": {
    "r": 118,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 261.026,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52561,
    "c": 0.17524,
    "h": 296
  },
  "luminance": 0.13054
}

Semantic roles & 50–950 ramp

primary
#764DC2
secondary
#BDCF9C
accent
#D94FA8
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #764DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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