#765ED2#765ED2

#765ED2 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.4% C 0.172 H 289.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#765ED2
RGBrgb(118, 94, 210)
HSLhsl(252, 56%, 60%)
HSVhsv(252, 55%, 82%)
CMYKcmyk(43.8%, 55.2%, 0%, 17.6%)
CIE-LABlab(47.64, 37.75, -56.88)
CIE-LCHlch(47.64, 68.27, 303.57°)
OKLaboklab(56.42% 0.0565 -0.162)
OKLCHoklch(56.42% 0.172 289.2)
XYZxyz(23.1035, 16.5093, 62.9296)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765ED2 #BAD25E
analogous
#5E80D2 #765ED2 #B05ED2
triadic
#765ED2 #D2765E #5ED276
tetradic
#765ED2 #D25E80 #BAD25E #5ED2B0
square
#765ED2 #D25E80 #BAD25E #5ED2B0
split-complementary
#765ED2 #D2B05E #80D25E
monochromatic
#3D288E #5135BE #765ED2 #9F8EDF #C7BEED

Accessibility & contrast

On white

4.88
#765ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#765ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765ED2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765ED2#FFFFFF#000000##FFFFFF
##765ED21.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F73D6
Deuteranopia (green-blind)
#226ECF
Tritanopia (blue-blind)
#5B778F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #765ed2;
/* rgb */ color: rgb(118, 94, 210);
/* oklch */ color: oklch(56.4% 0.172 289.2);
Tailwind
colors: {
  custom: {
    50: '#a38ce0',
    500: '#765ed2',
    950: '#000000',
  },
}
SCSS
$custom: #765ed2;
$custom-light: #a38ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#765ed2",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 210
  },
  "hsl": {
    "h": 252.414,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56419,
    "c": 0.17155,
    "h": 289.2
  },
  "luminance": 0.1651
}

Semantic roles & 50–950 ramp

primary
#765ED2
secondary
#D3DCAF
accent
#E048C0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #765ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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