#765BB2#765BB2

#765BB2 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 53.8% C 0.133 H 295.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#765BB2
RGBrgb(118, 91, 178)
HSLhsl(259, 36%, 53%)
HSVhsv(259, 49%, 70%)
CMYKcmyk(33.7%, 48.9%, 0%, 30.2%)
CIE-LABlab(45.01, 30.64, -42.57)
CIE-LCHlch(45.01, 52.45, 305.75°)
OKLaboklab(53.84% 0.0583 -0.12)
OKLCHoklch(53.84% 0.133 295.9)
XYZxyz(19.2462, 14.5478, 43.9049)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BB2 #97B25B
analogous
#5B6BB2 #765BB2 #A25BB2
triadic
#765BB2 #B2765B #5BB276
tetradic
#765BB2 #B25B6B #97B25B #5BB2A2
square
#765BB2 #B25B6B #97B25B #5BB2A2
split-complementary
#765BB2 #B2A25B #6BB25B
monochromatic
#3F2F64 #5A428D #765BB2 #9985C6 #BCAED9

Accessibility & contrast

On white

5.37
#765BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#765BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BB2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BB2#FFFFFF#000000##FFFFFF
##765BB21.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6BB5
Deuteranopia (green-blind)
#4269B0
Tritanopia (blue-blind)
#686C7E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #765bb2;
/* rgb */ color: rgb(118, 91, 178);
/* oklch */ color: oklch(53.8% 0.133 295.9);
Tailwind
colors: {
  custom: {
    50: '#a08ac9',
    500: '#765bb2',
    950: '#000000',
  },
}
SCSS
$custom: #765bb2;
$custom-light: #a08ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#765bb2",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 258.621,
    "s": 36.1,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53844,
    "c": 0.13342,
    "h": 295.9
  },
  "luminance": 0.14548
}

Semantic roles & 50–950 ramp

primary
#765BB2
secondary
#BCC7A2
accent
#CC5CA9
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #765BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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