#765FB6#765FB6

#765FB6 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 54.8% C 0.133 H 293.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#765FB6
RGBrgb(118, 95, 182)
HSLhsl(256, 37%, 54%)
HSVhsv(256, 48%, 71%)
CMYKcmyk(35.2%, 47.8%, 0%, 28.6%)
CIE-LABlab(46.19, 29.34, -43.02)
CIE-LCHlch(46.19, 52.07, 304.29°)
OKLaboklab(54.81% 0.0534 -0.1213)
OKLCHoklch(54.81% 0.133 293.7)
XYZxyz(20.0047, 15.4130, 46.1679)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FB6 #9FB65F
analogous
#5F74B6 #765FB6 #A25FB6
triadic
#765FB6 #B6765F #5FB676
tetradic
#765FB6 #B65F74 #9FB65F #5FB6A2
square
#765FB6 #B65F74 #9FB65F #5FB6A2
split-complementary
#765FB6 #B6A25F #74B65F
monochromatic
#40306A #594494 #765FB6 #9A89C9 #BEB3DC

Accessibility & contrast

On white

5.14
#765FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#765FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FB6
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FB6#FFFFFF#000000##FFFFFF
##765FB61.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416EB9
Deuteranopia (green-blind)
#446CB4
Tritanopia (blue-blind)
#677082
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #765fb6;
/* rgb */ color: rgb(118, 95, 182);
/* oklch */ color: oklch(54.8% 0.133 293.7);
Tailwind
colors: {
  custom: {
    50: '#a08dcc',
    500: '#765fb6',
    950: '#000000',
  },
}
SCSS
$custom: #765fb6;
$custom-light: #a08dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#765fb6",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 182
  },
  "hsl": {
    "h": 255.862,
    "s": 37.339,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54805,
    "c": 0.13253,
    "h": 293.7
  },
  "luminance": 0.15413
}

Semantic roles & 50–950 ramp

primary
#765FB6
secondary
#C1CBA6
accent
#CD5AAF
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #765FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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