#765BA2#765BA2

#765BA2 is a mid, moderate violet. Relative luminance 0.139; OKLCH L 52.9% C 0.112 H 300.2°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#765BA2
RGBrgb(118, 91, 162)
HSLhsl(263, 28%, 50%)
HSVhsv(263, 44%, 64%)
CMYKcmyk(27.2%, 43.8%, 0%, 36.5%)
CIE-LABlab(44.15, 26.43, -34.50)
CIE-LCHlch(44.15, 43.46, 307.46°)
OKLaboklab(52.92% 0.0561 -0.0965)
OKLCHoklch(52.92% 0.112 300.2)
XYZxyz(17.7324, 13.9423, 35.9323)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BA2 #87A25B
analogous
#5B64A2 #765BA2 #9A5BA2
triadic
#765BA2 #A2765B #5BA276
tetradic
#765BA2 #A25B64 #87A25B #5BA29A
square
#765BA2 #A25B64 #87A25B #5BA29A
split-complementary
#765BA2 #A29A5B #64A25B
monochromatic
#3D2F54 #59457B #765BA2 #9782B9 #B7A9CF

Accessibility & contrast

On white

5.54
#765BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#765BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BA2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BA2#FFFFFF#000000##FFFFFF
##765BA21.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4768A5
Deuteranopia (green-blind)
#4D68A0
Tritanopia (blue-blind)
#6E6777
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #765ba2;
/* rgb */ color: rgb(118, 91, 162);
/* oklch */ color: oklch(52.9% 0.112 300.2);
Tailwind
colors: {
  custom: {
    50: '#9f8abe',
    500: '#765ba2',
    950: '#000000',
  },
}
SCSS
$custom: #765ba2;
$custom-light: #9f8abe;
$custom-dark: #000000;
JSON
{
  "hex": "#765ba2",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 162
  },
  "hsl": {
    "h": 262.817,
    "s": 28.063,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5292,
    "c": 0.11158,
    "h": 300.2
  },
  "luminance": 0.13942
}

Semantic roles & 50–950 ramp

primary
#765BA2
secondary
#B0BD9C
accent
#C463A0
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0F0B12
muted
#7E7C81

Preview Lab

Preview with #765BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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