#765FB1#765FB1

#765FB1 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 54.5% C 0.126 H 294.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#765FB1
RGBrgb(118, 95, 177)
HSLhsl(257, 34%, 53%)
HSVhsv(257, 46%, 69%)
CMYKcmyk(33.3%, 46.3%, 0%, 30.6%)
CIE-LABlab(45.92, 27.98, -40.54)
CIE-LCHlch(45.92, 49.26, 304.62°)
OKLaboklab(54.51% 0.0527 -0.1141)
OKLCHoklch(54.51% 0.126 294.8)
XYZxyz(19.4972, 15.2100, 43.4950)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FB1 #9AB15F
analogous
#5F71B1 #765FB1 #9F5FB1
triadic
#765FB1 #B1765F #5FB176
tetradic
#765FB1 #B15F71 #9AB15F #5FB19F
square
#765FB1 #B15F71 #9AB15F #5FB19F
split-complementary
#765FB1 #B19F5F #71B15F
monochromatic
#3F3165 #59458E #765FB1 #9988C5 #BCB1D9

Accessibility & contrast

On white

5.20
#765FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#765FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FB1
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FB1#FFFFFF#000000##FFFFFF
##765FB11.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446DB4
Deuteranopia (green-blind)
#486CAF
Tritanopia (blue-blind)
#696E7F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #765fb1;
/* rgb */ color: rgb(118, 95, 177);
/* oklch */ color: oklch(54.5% 0.126 294.8);
Tailwind
colors: {
  custom: {
    50: '#a08dc9',
    500: '#765fb1',
    950: '#000000',
  },
}
SCSS
$custom: #765fb1;
$custom-light: #a08dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#765fb1",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 177
  },
  "hsl": {
    "h": 256.829,
    "s": 34.454,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5451,
    "c": 0.12565,
    "h": 294.8
  },
  "luminance": 0.1521
}

Semantic roles & 50–950 ramp

primary
#765FB1
secondary
#BEC8A4
accent
#CB5DAC
background
#FAF8FC
surface
#F3F0F8
border
#CDCBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #765FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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