#765EAF#765EAF

#765EAF is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.2% C 0.124 H 295.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#765EAF
RGBrgb(118, 94, 175)
HSLhsl(258, 34%, 53%)
HSVhsv(258, 46%, 69%)
CMYKcmyk(32.6%, 46.3%, 0%, 31.4%)
CIE-LABlab(45.57, 28.05, -39.92)
CIE-LCHlch(45.57, 48.79, 305.09°)
OKLaboklab(54.21% 0.0538 -0.1123)
OKLCHoklch(54.21% 0.125 295.6)
XYZxyz(19.2099, 14.9518, 42.4230)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765EAF #97AF5E
analogous
#5E6EAF #765EAF #9F5EAF
triadic
#765EAF #AF765E #5EAF76
tetradic
#765EAF #AF5E6E #97AF5E #5EAF9F
square
#765EAF #AF5E6E #97AF5E #5EAF9F
split-complementary
#765EAF #AF9F5E #6EAF5E
monochromatic
#3F3162 #5A458B #765EAF #9987C3 #BCB0D8

Accessibility & contrast

On white

5.26
#765EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#765EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765EAF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765EAF#FFFFFF#000000##FFFFFF
##765EAF1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446CB2
Deuteranopia (green-blind)
#486BAD
Tritanopia (blue-blind)
#696D7E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #765eaf;
/* rgb */ color: rgb(118, 94, 175);
/* oklch */ color: oklch(54.2% 0.124 295.6);
Tailwind
colors: {
  custom: {
    50: '#a08cc7',
    500: '#765eaf',
    950: '#000000',
  },
}
SCSS
$custom: #765eaf;
$custom-light: #a08cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#765eaf",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 175
  },
  "hsl": {
    "h": 257.778,
    "s": 33.61,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5421,
    "c": 0.1245,
    "h": 295.6
  },
  "luminance": 0.14952
}

Semantic roles & 50–950 ramp

primary
#765EAF
secondary
#BCC6A3
accent
#CA5EAA
background
#FAF8FC
surface
#F3F0F8
border
#CDCBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #765EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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