#765EAC#765EAC

#765EAC is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.0% C 0.120 H 296.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#765EAC
RGBrgb(118, 94, 172)
HSLhsl(258, 32%, 52%)
HSVhsv(258, 45%, 67%)
CMYKcmyk(31.4%, 45.3%, 0%, 32.5%)
CIE-LABlab(45.41, 27.25, -38.42)
CIE-LCHlch(45.41, 47.10, 305.35°)
OKLaboklab(54.04% 0.0534 -0.1079)
OKLCHoklch(54.04% 0.12 296.3)
XYZxyz(18.9185, 14.8353, 40.8885)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765EAC #94AC5E
analogous
#5E6DAC #765EAC #9D5EAC
triadic
#765EAC #AC765E #5EAC76
tetradic
#765EAC #AC5E6D #94AC5E #5EAC9D
square
#765EAC #AC5E6D #94AC5E #5EAC9D
split-complementary
#765EAC #AC9D5E #6DAC5E
monochromatic
#3F315F #5A4687 #765EAC #9886C1 #BBAFD6

Accessibility & contrast

On white

5.29
#765EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#765EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765EAC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765EAC#FFFFFF#000000##FFFFFF
##765EAC1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466CAF
Deuteranopia (green-blind)
#4A6BAA
Tritanopia (blue-blind)
#6A6C7D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #765eac;
/* rgb */ color: rgb(118, 94, 172);
/* oklch */ color: oklch(54.0% 0.120 296.3);
Tailwind
colors: {
  custom: {
    50: '#a08cc5',
    500: '#765eac',
    950: '#000000',
  },
}
SCSS
$custom: #765eac;
$custom-light: #a08cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#765eac",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 172
  },
  "hsl": {
    "h": 258.462,
    "s": 31.967,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54037,
    "c": 0.12036,
    "h": 296.3
  },
  "luminance": 0.14836
}

Semantic roles & 50–950 ramp

primary
#765EAC
secondary
#B9C4A2
accent
#C860A8
background
#FAF8FC
surface
#F3F0F8
border
#CDCBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #765EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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