#765FA7#765FA7

#765FA7 is a mid, moderate violet. Relative luminance 0.148; OKLCH L 53.9% C 0.112 H 297.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#765FA7
RGBrgb(118, 95, 167)
HSLhsl(259, 29%, 51%)
HSVhsv(259, 43%, 65%)
CMYKcmyk(29.3%, 43.1%, 0%, 34.5%)
CIE-LABlab(45.39, 25.33, -35.50)
CIE-LCHlch(45.39, 43.60, 305.51°)
OKLaboklab(53.94% 0.0511 -0.0994)
OKLCHoklch(53.94% 0.112 297.2)
XYZxyz(18.5368, 14.8258, 38.4368)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FA7 #90A75F
analogous
#5F6CA7 #765FA7 #9A5FA7
triadic
#765FA7 #A7765F #5FA776
tetradic
#765FA7 #A75F6C #90A75F #5FA79A
square
#765FA7 #A75F6C #90A75F #5FA79A
split-complementary
#765FA7 #A79A5F #6CA75F
monochromatic
#3E325A #5A4782 #765FA7 #9886BD #BAAED2

Accessibility & contrast

On white

5.30
#765FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#765FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FA7
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FA7#FFFFFF#000000##FFFFFF
##765FA71.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6CAA
Deuteranopia (green-blind)
#4E6BA5
Tritanopia (blue-blind)
#6C6C7B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #765fa7;
/* rgb */ color: rgb(118, 95, 167);
/* oklch */ color: oklch(53.9% 0.112 297.2);
Tailwind
colors: {
  custom: {
    50: '#9f8cc1',
    500: '#765fa7',
    950: '#000000',
  },
}
SCSS
$custom: #765fa7;
$custom-light: #9f8cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#765fa7",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 167
  },
  "hsl": {
    "h": 259.167,
    "s": 29.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53942,
    "c": 0.11176,
    "h": 297.2
  },
  "luminance": 0.14826
}

Semantic roles & 50–950 ramp

primary
#765FA7
secondary
#B7C1A1
accent
#C562A6
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0F0C12
muted
#7E7D81

Preview Lab

Preview with #765FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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