#765FA3#765FA3

#765FA3 is a mid, moderate violet. Relative luminance 0.147; OKLCH L 53.7% C 0.106 H 298.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#765FA3
RGBrgb(118, 95, 163)
HSLhsl(260, 27%, 51%)
HSVhsv(260, 42%, 64%)
CMYKcmyk(27.6%, 41.7%, 0%, 36.1%)
CIE-LABlab(45.19, 24.28, -33.45)
CIE-LCHlch(45.19, 41.34, 305.98°)
OKLaboklab(53.72% 0.0504 -0.0934)
OKLCHoklch(53.72% 0.106 298.3)
XYZxyz(18.1727, 14.6802, 36.5194)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FA3 #8CA35F
analogous
#5F6AA3 #765FA3 #985FA3
triadic
#765FA3 #A3765F #5FA376
tetradic
#765FA3 #A35F6A #8CA35F #5FA398
square
#765FA3 #A35F6A #8CA35F #5FA398
split-complementary
#765FA3 #A3985F #6AA35F
monochromatic
#3E3256 #5A487D #765FA3 #9786B9 #B9ADD0

Accessibility & contrast

On white

5.34
#765FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #765FA3
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FA3#FFFFFF#000000##FFFFFF
##765FA31.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6BA6
Deuteranopia (green-blind)
#516AA1
Tritanopia (blue-blind)
#6D6B79
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #765fa3;
/* rgb */ color: rgb(118, 95, 163);
/* oklch */ color: oklch(53.7% 0.106 298.3);
Tailwind
colors: {
  custom: {
    50: '#9f8cbe',
    500: '#765fa3',
    950: '#000000',
  },
}
SCSS
$custom: #765fa3;
$custom-light: #9f8cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#765fa3",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 163
  },
  "hsl": {
    "h": 260.294,
    "s": 26.984,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53724,
    "c": 0.10617,
    "h": 298.3
  },
  "luminance": 0.1468
}

Semantic roles & 50–950 ramp

primary
#765FA3
secondary
#B4BEA0
accent
#C364A3
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0F0C12
muted
#7E7D81

Preview Lab

Preview with #765FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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