#765ED3#765ED3

#765ED3 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.5% C 0.173 H 289.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#765ED3
RGBrgb(118, 94, 211)
HSLhsl(252, 57%, 60%)
HSVhsv(252, 55%, 83%)
CMYKcmyk(44.1%, 55.5%, 0%, 17.3%)
CIE-LABlab(47.70, 38.04, -57.35)
CIE-LCHlch(47.70, 68.81, 303.56°)
OKLaboklab(56.49% 0.0566 -0.1633)
OKLCHoklch(56.49% 0.173 289.1)
XYZxyz(23.2285, 16.5593, 63.5878)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765ED3 #BBD35E
analogous
#5E80D3 #765ED3 #B15ED3
triadic
#765ED3 #D3765E #5ED376
tetradic
#765ED3 #D35E80 #BBD35E #5ED3B1
square
#765ED3 #D35E80 #BBD35E #5ED3B1
split-complementary
#765ED3 #D3B15E #80D35E
monochromatic
#3D278F #5134BF #765ED3 #9F8EE0 #C8BEED

Accessibility & contrast

On white

4.87
#765ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#765ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765ED3
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765ED3#FFFFFF#000000##FFFFFF
##765ED31.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D74D7
Deuteranopia (green-blind)
#206ED0
Tritanopia (blue-blind)
#5A778F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #765ed3;
/* rgb */ color: rgb(118, 94, 211);
/* oklch */ color: oklch(56.5% 0.173 289.1);
Tailwind
colors: {
  custom: {
    50: '#a38ce1',
    500: '#765ed3',
    950: '#000000',
  },
}
SCSS
$custom: #765ed3;
$custom-light: #a38ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#765ed3",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 211
  },
  "hsl": {
    "h": 252.308,
    "s": 57.073,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56487,
    "c": 0.17286,
    "h": 289.1
  },
  "luminance": 0.1656
}

Semantic roles & 50–950 ramp

primary
#765ED3
secondary
#D4DDB0
accent
#E047C1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #765ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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