#765EA1#765EA1

#765EA1 is a mid, moderate violet. Relative luminance 0.144; OKLCH L 53.4% C 0.105 H 299.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#765EA1
RGBrgb(118, 94, 161)
HSLhsl(261, 26%, 50%)
HSVhsv(261, 42%, 63%)
CMYKcmyk(26.7%, 41.6%, 0%, 36.9%)
CIE-LABlab(44.84, 24.37, -32.82)
CIE-LCHlch(44.84, 40.88, 306.60°)
OKLaboklab(53.43% 0.0515 -0.0916)
OKLCHoklch(53.43% 0.105 299.3)
XYZxyz(17.9055, 14.4301, 35.5533)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765EA1 #89A15E
analogous
#5E67A1 #765EA1 #985EA1
triadic
#765EA1 #A1765E #5EA176
tetradic
#765EA1 #A15E67 #89A15E #5EA198
square
#765EA1 #A15E67 #89A15E #5EA198
split-complementary
#765EA1 #A1985E #67A15E
monochromatic
#3D3154 #5A477A #765EA1 #9785B8 #B8ABCE

Accessibility & contrast

On white

5.40
#765EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#765EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765EA1
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765EA1#FFFFFF#000000##FFFFFF
##765EA11.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6AA4
Deuteranopia (green-blind)
#516A9F
Tritanopia (blue-blind)
#6E6978
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #765ea1;
/* rgb */ color: rgb(118, 94, 161);
/* oklch */ color: oklch(53.4% 0.105 299.3);
Tailwind
colors: {
  custom: {
    50: '#9f8cbd',
    500: '#765ea1',
    950: '#000000',
  },
}
SCSS
$custom: #765ea1;
$custom-light: #9f8cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#765ea1",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 161
  },
  "hsl": {
    "h": 261.493,
    "s": 26.275,
    "l": 50
  },
  "oklch": {
    "l": 0.53427,
    "c": 0.10507,
    "h": 299.3
  },
  "luminance": 0.1443
}

Semantic roles & 50–950 ramp

primary
#765EA1
secondary
#B2BC9E
accent
#C365A1
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0F0C12
muted
#7E7D81

Preview Lab

Preview with #765EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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