#765DB3#765DB3

#765DB3 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.3% C 0.132 H 295.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#765DB3
RGBrgb(118, 93, 179)
HSLhsl(257, 36%, 53%)
HSVhsv(257, 48%, 70%)
CMYKcmyk(34.1%, 48%, 0%, 29.8%)
CIE-LABlab(45.54, 29.72, -42.30)
CIE-LCHlch(45.54, 51.70, 305.09°)
OKLaboklab(54.26% 0.0557 -0.1192)
OKLCHoklch(54.26% 0.132 295)
XYZxyz(19.5202, 14.9346, 44.4933)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765DB3 #9AB35D
analogous
#5D6FB3 #765DB3 #A15DB3
triadic
#765DB3 #B3765D #5DB376
tetradic
#765DB3 #B35D6F #9AB35D #5DB3A1
square
#765DB3 #B35D6F #9AB35D #5DB3A1
split-complementary
#765DB3 #B3A15D #6FB35D
monochromatic
#3F3066 #59438F #765DB3 #9987C7 #BCB0DA

Accessibility & contrast

On white

5.27
#765DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#765DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765DB3
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765DB3#FFFFFF#000000##FFFFFF
##765DB31.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6DB6
Deuteranopia (green-blind)
#446BB1
Tritanopia (blue-blind)
#686D7F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #765db3;
/* rgb */ color: rgb(118, 93, 179);
/* oklch */ color: oklch(54.3% 0.132 295.0);
Tailwind
colors: {
  custom: {
    50: '#a08bca',
    500: '#765db3',
    950: '#000000',
  },
}
SCSS
$custom: #765db3;
$custom-light: #a08bca;
$custom-dark: #000000;
JSON
{
  "hex": "#765db3",
  "rgb": {
    "r": 118,
    "g": 93,
    "b": 179
  },
  "hsl": {
    "h": 257.442,
    "s": 36.134,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54263,
    "c": 0.13159,
    "h": 295
  },
  "luminance": 0.14935
}

Semantic roles & 50–950 ramp

primary
#765DB3
secondary
#BEC8A3
accent
#CC5CAB
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #765DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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