#765EA8#765EA8

#765EA8 is a mid, moderate violet. Relative luminance 0.147; OKLCH L 53.8% C 0.115 H 297.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#765EA8
RGBrgb(118, 94, 168)
HSLhsl(259, 30%, 51%)
HSVhsv(259, 44%, 66%)
CMYKcmyk(29.8%, 44%, 0%, 34.1%)
CIE-LABlab(45.20, 26.19, -36.40)
CIE-LCHlch(45.20, 44.84, 305.74°)
OKLaboklab(53.81% 0.0528 -0.102)
OKLCHoklch(53.81% 0.115 297.3)
XYZxyz(18.5401, 14.6839, 38.8957)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765EA8 #90A85E
analogous
#5E6BA8 #765EA8 #9B5EA8
triadic
#765EA8 #A8765E #5EA876
tetradic
#765EA8 #A85E6B #90A85E #5EA89B
square
#765EA8 #A85E6B #90A85E #5EA89B
split-complementary
#765EA8 #A89B5E #6BA85E
monochromatic
#3E315B #5A4682 #765EA8 #9886BD #BAADD3

Accessibility & contrast

On white

5.33
#765EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#765EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765EA8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765EA8#FFFFFF#000000##FFFFFF
##765EA81.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486BAB
Deuteranopia (green-blind)
#4D6AA6
Tritanopia (blue-blind)
#6C6B7B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #765ea8;
/* rgb */ color: rgb(118, 94, 168);
/* oklch */ color: oklch(53.8% 0.115 297.3);
Tailwind
colors: {
  custom: {
    50: '#9f8cc2',
    500: '#765ea8',
    950: '#000000',
  },
}
SCSS
$custom: #765ea8;
$custom-light: #9f8cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#765ea8",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 168
  },
  "hsl": {
    "h": 259.459,
    "s": 29.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53811,
    "c": 0.11482,
    "h": 297.3
  },
  "luminance": 0.14684
}

Semantic roles & 50–950 ramp

primary
#765EA8
secondary
#B7C1A1
accent
#C662A6
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0F0C12
muted
#7E7D81

Preview Lab

Preview with #765EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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