#765FB5#765FB5

#765FB5 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 54.7% C 0.131 H 293.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#765FB5
RGBrgb(118, 95, 181)
HSLhsl(256, 37%, 54%)
HSVhsv(256, 48%, 71%)
CMYKcmyk(34.8%, 47.5%, 0%, 29%)
CIE-LABlab(46.14, 29.07, -42.53)
CIE-LCHlch(46.14, 51.51, 304.35°)
OKLaboklab(54.75% 0.0532 -0.1199)
OKLCHoklch(54.75% 0.131 293.9)
XYZxyz(19.9018, 15.3718, 45.6256)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FB5 #9EB55F
analogous
#5F73B5 #765FB5 #A15FB5
triadic
#765FB5 #B5765F #5FB576
tetradic
#765FB5 #B55F73 #9EB55F #5FB5A1
square
#765FB5 #B55F73 #9EB55F #5FB5A1
split-complementary
#765FB5 #B5A15F #73B55F
monochromatic
#403169 #594493 #765FB5 #9A89C8 #BEB3DC

Accessibility & contrast

On white

5.15
#765FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#765FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FB5
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FB5#FFFFFF#000000##FFFFFF
##765FB51.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416EB8
Deuteranopia (green-blind)
#456CB3
Tritanopia (blue-blind)
#677081
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #765fb5;
/* rgb */ color: rgb(118, 95, 181);
/* oklch */ color: oklch(54.7% 0.131 293.9);
Tailwind
colors: {
  custom: {
    50: '#a08dcb',
    500: '#765fb5',
    950: '#000000',
  },
}
SCSS
$custom: #765fb5;
$custom-light: #a08dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#765fb5",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 181
  },
  "hsl": {
    "h": 256.047,
    "s": 36.752,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54745,
    "c": 0.13116,
    "h": 293.9
  },
  "luminance": 0.15372
}

Semantic roles & 50–950 ramp

primary
#765FB5
secondary
#C0CAA6
accent
#CD5BAE
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #765FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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