#765EA2#765EA2

#765EA2 is a mid, moderate violet. Relative luminance 0.145; OKLCH L 53.5% C 0.106 H 299.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#765EA2
RGBrgb(118, 94, 162)
HSLhsl(261, 27%, 50%)
HSVhsv(261, 42%, 64%)
CMYKcmyk(27.2%, 42%, 0%, 36.5%)
CIE-LABlab(44.89, 24.63, -33.33)
CIE-LCHlch(44.89, 41.44, 306.46°)
OKLaboklab(53.48% 0.0517 -0.0931)
OKLCHoklch(53.48% 0.106 299)
XYZxyz(17.9940, 14.4655, 36.0195)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765EA2 #8AA25E
analogous
#5E68A2 #765EA2 #985EA2
triadic
#765EA2 #A2765E #5EA276
tetradic
#765EA2 #A25E68 #8AA25E #5EA298
square
#765EA2 #A25E68 #8AA25E #5EA298
split-complementary
#765EA2 #A2985E #68A25E
monochromatic
#3E3155 #5A477B #765EA2 #9785B8 #B8ACCF

Accessibility & contrast

On white

5.39
#765EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #765EA2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765EA2#FFFFFF#000000##FFFFFF
##765EA21.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6AA5
Deuteranopia (green-blind)
#506AA0
Tritanopia (blue-blind)
#6D6A78
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #765ea2;
/* rgb */ color: rgb(118, 94, 162);
/* oklch */ color: oklch(53.5% 0.106 299.0);
Tailwind
colors: {
  custom: {
    50: '#9f8cbe',
    500: '#765ea2',
    950: '#000000',
  },
}
SCSS
$custom: #765ea2;
$custom-light: #9f8cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#765ea2",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 261.176,
    "s": 26.772,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53481,
    "c": 0.10647,
    "h": 299
  },
  "luminance": 0.14466
}

Semantic roles & 50–950 ramp

primary
#765EA2
secondary
#B2BD9F
accent
#C365A2
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0F0C12
muted
#7E7D81

Preview Lab

Preview with #765EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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