#765FA4#765FA4

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

Color values

HEX#765FA4
RGBrgb(118, 95, 164)
HSLhsl(260, 27%, 51%)
HSVhsv(260, 42%, 64%)
CMYKcmyk(28%, 42.1%, 0%, 35.7%)
CIE-LABlab(45.24, 24.54, -33.97)
CIE-LCHlch(45.24, 41.90, 305.85°)
OKLaboklab(53.78% 0.0506 -0.0949)
OKLCHoklch(53.78% 0.108 298.1)
XYZxyz(18.2627, 14.7162, 36.9931)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FA4 #8DA45F
analogous
#5F6AA4 #765FA4 #985FA4
triadic
#765FA4 #A4765F #5FA476
tetradic
#765FA4 #A45F6A #8DA45F #5FA498
square
#765FA4 #A45F6A #8DA45F #5FA498
split-complementary
#765FA4 #A4985F #6AA45F
monochromatic
#3E3257 #5A487E #765FA4 #9786BA #B9ADD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##765FA4#FFFFFF#000000##FFFFFF
##765FA41.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)
#4C6BA7
Deuteranopia (green-blind)
#506AA2
Tritanopia (blue-blind)
#6D6B79
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #765fa4;
/* rgb */ color: rgb(118, 95, 164);
/* oklch */ color: oklch(53.8% 0.108 298.1);
Tailwind
colors: {
  custom: {
    50: '#9f8cbf',
    500: '#765fa4',
    950: '#000000',
  },
}
SCSS
$custom: #765fa4;
$custom-light: #9f8cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#765fa4",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 164
  },
  "hsl": {
    "h": 260,
    "s": 27.49,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53778,
    "c": 0.10757,
    "h": 298.1
  },
  "luminance": 0.14716
}

Semantic roles & 50–950 ramp

primary
#765FA4
secondary
#B5BFA0
accent
#C464A4
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0F0C12
muted
#7E7D81

Preview Lab

Preview with #765FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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