#765ED9#765ED9

#765ED9 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.9% C 0.181 H 288.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#765ED9
RGBrgb(118, 94, 217)
HSLhsl(252, 62%, 61%)
HSVhsv(252, 57%, 85%)
CMYKcmyk(45.6%, 56.7%, 0%, 14.9%)
CIE-LABlab(48.09, 39.75, -60.14)
CIE-LCHlch(48.09, 72.09, 303.47°)
OKLaboklab(56.9% 0.0566 -0.1715)
OKLCHoklch(56.9% 0.181 288.3)
XYZxyz(23.9947, 16.8658, 67.6233)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765ED9 #C1D95E
analogous
#5E83D9 #765ED9 #B35ED9
triadic
#765ED9 #D9765E #5ED976
tetradic
#765ED9 #D95E83 #C1D95E #5ED9B3
square
#765ED9 #D95E83 #C1D95E #5ED9B3
split-complementary
#765ED9 #D9B35E #83D95E
monochromatic
#3B2499 #4E30CA #765ED9 #A090E5 #CAC1F0

Accessibility & contrast

On white

4.80
#765ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#765ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765ED9
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765ED9#FFFFFF#000000##FFFFFF
##765ED91.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B75DD
Deuteranopia (green-blind)
#0F6FD6
Tritanopia (blue-blind)
#577992
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #765ed9;
/* rgb */ color: rgb(118, 94, 217);
/* oklch */ color: oklch(56.9% 0.181 288.3);
Tailwind
colors: {
  custom: {
    50: '#a48ce5',
    500: '#765ed9',
    950: '#000000',
  },
}
SCSS
$custom: #765ed9;
$custom-light: #a48ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#765ed9",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 217
  },
  "hsl": {
    "h": 251.707,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.569,
    "c": 0.18064,
    "h": 288.3
  },
  "luminance": 0.16867
}

Semantic roles & 50–950 ramp

primary
#765ED9
secondary
#D8E1B2
accent
#CA1CA8
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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