#765FB0#765FB0

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

Color values

HEX#765FB0
RGBrgb(118, 95, 176)
HSLhsl(257, 34%, 53%)
HSVhsv(257, 46%, 69%)
CMYKcmyk(33%, 46%, 0%, 31%)
CIE-LABlab(45.87, 27.71, -40.04)
CIE-LCHlch(45.87, 48.69, 304.69°)
OKLaboklab(54.45% 0.0526 -0.1126)
OKLCHoklch(54.45% 0.124 295)
XYZxyz(19.3979, 15.1702, 42.9720)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FB0 #99B05F
analogous
#5F70B0 #765FB0 #9E5FB0
triadic
#765FB0 #B0765F #5FB076
tetradic
#765FB0 #B05F70 #99B05F #5FB09E
square
#765FB0 #B05F70 #99B05F #5FB09E
split-complementary
#765FB0 #B09E5F #70B05F
monochromatic
#3F3163 #5A458C #765FB0 #9988C4 #BCB1D8

Accessibility & contrast

On white

5.21
#765FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#765FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FB0
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FB0#FFFFFF#000000##FFFFFF
##765FB01.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456DB3
Deuteranopia (green-blind)
#496BAE
Tritanopia (blue-blind)
#696E7F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #765fb0;
/* rgb */ color: rgb(118, 95, 176);
/* oklch */ color: oklch(54.5% 0.124 295.0);
Tailwind
colors: {
  custom: {
    50: '#a08dc8',
    500: '#765fb0',
    950: '#000000',
  },
}
SCSS
$custom: #765fb0;
$custom-light: #a08dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#765fb0",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 176
  },
  "hsl": {
    "h": 257.037,
    "s": 33.891,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54452,
    "c": 0.12427,
    "h": 295
  },
  "luminance": 0.15171
}

Semantic roles & 50–950 ramp

primary
#765FB0
secondary
#BDC7A4
accent
#CA5EAB
background
#FAF8FC
surface
#F3F0F8
border
#CDCBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #765FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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