#765FB7#765FB7

#765FB7 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 54.9% C 0.134 H 293.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#765FB7
RGBrgb(118, 95, 183)
HSLhsl(256, 38%, 55%)
HSVhsv(256, 48%, 72%)
CMYKcmyk(35.5%, 48.1%, 0%, 28.2%)
CIE-LABlab(46.25, 29.61, -43.51)
CIE-LCHlch(46.25, 52.63, 304.23°)
OKLaboklab(54.86% 0.0535 -0.1228)
OKLCHoklch(54.86% 0.134 293.5)
XYZxyz(20.1085, 15.4545, 46.7141)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FB7 #A0B75F
analogous
#5F74B7 #765FB7 #A25FB7
triadic
#765FB7 #B7765F #5FB776
tetradic
#765FB7 #B75F74 #A0B75F #5FB7A2
square
#765FB7 #B75F74 #A0B75F #5FB7A2
split-complementary
#765FB7 #B7A25F #74B75F
monochromatic
#40306B #594396 #765FB7 #9A89CA #BEB3DD

Accessibility & contrast

On white

5.13
#765FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#765FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FB7
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FB7#FFFFFF#000000##FFFFFF
##765FB71.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406FBA
Deuteranopia (green-blind)
#446CB5
Tritanopia (blue-blind)
#667082
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #765fb7;
/* rgb */ color: rgb(118, 95, 183);
/* oklch */ color: oklch(54.9% 0.134 293.5);
Tailwind
colors: {
  custom: {
    50: '#a08dcd',
    500: '#765fb7',
    950: '#000000',
  },
}
SCSS
$custom: #765fb7;
$custom-light: #a08dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#765fb7",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 183
  },
  "hsl": {
    "h": 255.682,
    "s": 37.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54865,
    "c": 0.1339,
    "h": 293.5
  },
  "luminance": 0.15455
}

Semantic roles & 50–950 ramp

primary
#765FB7
secondary
#C2CCA6
accent
#CE5AB0
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #765FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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