#765BBF#765BBF

#765BBF is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.7% C 0.151 H 293.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#765BBF
RGBrgb(118, 91, 191)
HSLhsl(256, 44%, 55%)
HSVhsv(256, 52%, 75%)
CMYKcmyk(38.2%, 52.4%, 0%, 25.1%)
CIE-LABlab(45.76, 34.18, -48.94)
CIE-LCHlch(45.76, 59.70, 304.93°)
OKLaboklab(54.65% 0.0594 -0.1387)
OKLCHoklch(54.65% 0.151 293.2)
XYZxyz(20.6138, 15.0948, 51.1076)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BBF #A4BF5B
analogous
#5B72BF #765BBF #A85BBF
triadic
#765BBF #BF765B #5BBF76
tetradic
#765BBF #BF5B72 #A4BF5B #5BBFA8
square
#765BBF #BF5B72 #A4BF5B #5BBFA8
split-complementary
#765BBF #BFA85B #72BF5B
monochromatic
#402D73 #583E9F #765BBF #9B87D0 #C0B3E1

Accessibility & contrast

On white

5.23
#765BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#765BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BBF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BBF#FFFFFF#000000##FFFFFF
##765BBF1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316EC2
Deuteranopia (green-blind)
#376BBD
Tritanopia (blue-blind)
#646F84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #765bbf;
/* rgb */ color: rgb(118, 91, 191);
/* oklch */ color: oklch(54.7% 0.151 293.2);
Tailwind
colors: {
  custom: {
    50: '#a18ad3',
    500: '#765bbf',
    950: '#000000',
  },
}
SCSS
$custom: #765bbf;
$custom-light: #a18ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#765bbf",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 256.2,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54651,
    "c": 0.15087,
    "h": 293.2
  },
  "luminance": 0.15095
}

Semantic roles & 50–950 ramp

primary
#765BBF
secondary
#C5D0A6
accent
#D454B1
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #765BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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