#765EDC#765EDC

#765EDC is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.1% C 0.185 H 287.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#765EDC
RGBrgb(118, 94, 220)
HSLhsl(251, 64%, 62%)
HSVhsv(251, 57%, 86%)
CMYKcmyk(46.4%, 57.3%, 0%, 13.7%)
CIE-LABlab(48.29, 40.62, -61.52)
CIE-LCHlch(48.29, 73.72, 303.43°)
OKLaboklab(57.11% 0.0566 -0.1756)
OKLCHoklch(57.11% 0.185 287.9)
XYZxyz(24.3885, 17.0233, 69.6971)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765EDC #C4DC5E
analogous
#5E85DC #765EDC #B55EDC
triadic
#765EDC #DC765E #5EDC76
tetradic
#765EDC #DC5E85 #C4DC5E #5EDCB5
square
#765EDC #DC5E85 #C4DC5E #5EDCB5
split-complementary
#765EDC #DCB55E #85DC5E
monochromatic
#3A229D #4C2DD0 #765EDC #A190E7 #CCC3F2

Accessibility & contrast

On white

4.77
#765EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#765EDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765EDC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765EDC#FFFFFF#000000##FFFFFF
##765EDC1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#557A94
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #765edc;
/* rgb */ color: rgb(118, 94, 220);
/* oklch */ color: oklch(57.1% 0.185 287.9);
Tailwind
colors: {
  custom: {
    50: '#a48ce8',
    500: '#765edc',
    950: '#000000',
  },
}
SCSS
$custom: #765edc;
$custom-light: #a48ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#765edc",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 220
  },
  "hsl": {
    "h": 251.429,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.5711,
    "c": 0.18451,
    "h": 287.9
  },
  "luminance": 0.17024
}

Semantic roles & 50–950 ramp

primary
#765EDC
secondary
#D9E2B3
accent
#CC19AA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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