#765ED4#765ED4

#765ED4 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.6% C 0.174 H 289.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#765ED4
RGBrgb(118, 94, 212)
HSLhsl(252, 58%, 60%)
HSVhsv(252, 56%, 83%)
CMYKcmyk(44.3%, 55.7%, 0%, 16.9%)
CIE-LABlab(47.76, 38.32, -57.81)
CIE-LCHlch(47.76, 69.36, 303.54°)
OKLaboklab(56.56% 0.0566 -0.1647)
OKLCHoklch(56.56% 0.174 289)
XYZxyz(23.3542, 16.6096, 64.2500)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765ED4 #BCD45E
analogous
#5E81D4 #765ED4 #B15ED4
triadic
#765ED4 #D4765E #5ED476
tetradic
#765ED4 #D45E81 #BCD45E #5ED4B1
square
#765ED4 #D45E81 #BCD45E #5ED4B1
split-complementary
#765ED4 #D4B15E #81D45E
monochromatic
#3C2791 #5034C1 #765ED4 #9F8EE1 #C8BFEE

Accessibility & contrast

On white

4.86
#765ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#765ED4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765ED4
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765ED4#FFFFFF#000000##FFFFFF
##765ED41.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A74D8
Deuteranopia (green-blind)
#1E6ED1
Tritanopia (blue-blind)
#5A7890
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #765ed4;
/* rgb */ color: rgb(118, 94, 212);
/* oklch */ color: oklch(56.6% 0.174 289.0);
Tailwind
colors: {
  custom: {
    50: '#a38ce2',
    500: '#765ed4',
    950: '#000000',
  },
}
SCSS
$custom: #765ed4;
$custom-light: #a38ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#765ed4",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 212
  },
  "hsl": {
    "h": 252.203,
    "s": 57.843,
    "l": 60
  },
  "oklch": {
    "l": 0.56555,
    "c": 0.17416,
    "h": 289
  },
  "luminance": 0.1661
}

Semantic roles & 50–950 ramp

primary
#765ED4
secondary
#D4DEB0
accent
#E147C2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #765ED4

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

Preview Lab → · Contrast checker → · Palette generator →

#765ED4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva