#765FB3#765FB3

#765FB3 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 54.6% C 0.128 H 294.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#765FB3
RGBrgb(118, 95, 179)
HSLhsl(256, 36%, 54%)
HSVhsv(256, 47%, 70%)
CMYKcmyk(34.1%, 46.9%, 0%, 29.8%)
CIE-LABlab(46.03, 28.52, -41.53)
CIE-LCHlch(46.03, 50.38, 304.48°)
OKLaboklab(54.63% 0.053 -0.117)
OKLCHoklch(54.63% 0.128 294.4)
XYZxyz(19.6980, 15.2903, 44.5526)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FB3 #9CB35F
analogous
#5F72B3 #765FB3 #A05FB3
triadic
#765FB3 #B3765F #5FB376
tetradic
#765FB3 #B35F72 #9CB35F #5FB3A0
square
#765FB3 #B35F72 #9CB35F #5FB3A0
split-complementary
#765FB3 #B3A05F #72B35F
monochromatic
#403167 #594590 #765FB3 #9A88C7 #BDB2DA

Accessibility & contrast

On white

5.17
#765FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#765FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FB3
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FB3#FFFFFF#000000##FFFFFF
##765FB31.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436EB6
Deuteranopia (green-blind)
#476CB1
Tritanopia (blue-blind)
#686F80
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #765fb3;
/* rgb */ color: rgb(118, 95, 179);
/* oklch */ color: oklch(54.6% 0.128 294.4);
Tailwind
colors: {
  custom: {
    50: '#a08dca',
    500: '#765fb3',
    950: '#000000',
  },
}
SCSS
$custom: #765fb3;
$custom-light: #a08dca;
$custom-dark: #000000;
JSON
{
  "hex": "#765fb3",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 179
  },
  "hsl": {
    "h": 256.429,
    "s": 35.593,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54627,
    "c": 0.12841,
    "h": 294.4
  },
  "luminance": 0.15291
}

Semantic roles & 50–950 ramp

primary
#765FB3
secondary
#BFC9A5
accent
#CC5CAD
background
#FAF8FC
surface
#F3F0F8
border
#CDCBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #765FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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