#765FBB#765FBB

#765FBB is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.1% C 0.139 H 292.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#765FBB
RGBrgb(118, 95, 187)
HSLhsl(255, 40%, 55%)
HSVhsv(255, 49%, 73%)
CMYKcmyk(36.9%, 49.2%, 0%, 26.7%)
CIE-LABlab(46.48, 30.71, -45.48)
CIE-LCHlch(46.48, 54.88, 304.03°)
OKLaboklab(55.11% 0.0539 -0.1285)
OKLCHoklch(55.11% 0.139 292.8)
XYZxyz(20.5307, 15.6234, 48.9380)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FBB #A4BB5F
analogous
#5F76BB #765FBB #A45FBB
triadic
#765FBB #BB765F #5FBB76
tetradic
#765FBB #BB5F76 #A4BB5F #5FBBA4
square
#765FBB #BB5F76 #A4BB5F #5FBBA4
split-complementary
#765FBB #BBA45F #76BB5F
monochromatic
#403070 #58429B #765FBB #9B8ACD #C0B5E0

Accessibility & contrast

On white

5.09
#765FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#765FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FBB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FBB#FFFFFF#000000##FFFFFF
##765FBB1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6FBE
Deuteranopia (green-blind)
#406CB9
Tritanopia (blue-blind)
#657184
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #765fbb;
/* rgb */ color: rgb(118, 95, 187);
/* oklch */ color: oklch(55.1% 0.139 292.8);
Tailwind
colors: {
  custom: {
    50: '#a18dd0',
    500: '#765fbb',
    950: '#000000',
  },
}
SCSS
$custom: #765fbb;
$custom-light: #a18dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#765fbb",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 255,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55108,
    "c": 0.13937,
    "h": 292.8
  },
  "luminance": 0.15624
}

Semantic roles & 50–950 ramp

primary
#765FBB
secondary
#C5CEA8
accent
#D058B2
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #765FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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