#765DAF#765DAF

#765DAF is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.0% C 0.126 H 296.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#765DAF
RGBrgb(118, 93, 175)
HSLhsl(258, 34%, 53%)
HSVhsv(258, 47%, 69%)
CMYKcmyk(32.6%, 46.9%, 0%, 31.4%)
CIE-LABlab(45.32, 28.65, -40.31)
CIE-LCHlch(45.32, 49.45, 305.40°)
OKLaboklab(54.03% 0.0552 -0.1134)
OKLCHoklch(54.03% 0.126 296)
XYZxyz(19.1215, 14.7751, 42.3936)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765DAF #96AF5D
analogous
#5D6DAF #765DAF #9F5DAF
triadic
#765DAF #AF765D #5DAF76
tetradic
#765DAF #AF5D6D #96AF5D #5DAF9F
square
#765DAF #AF5D6D #96AF5D #5DAF9F
split-complementary
#765DAF #AF9F5D #6DAF5D
monochromatic
#3F3061 #5A448A #765DAF #9986C3 #BBAFD7

Accessibility & contrast

On white

5.31
#765DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#765DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765DAF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765DAF#FFFFFF#000000##FFFFFF
##765DAF1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426CB2
Deuteranopia (green-blind)
#476AAD
Tritanopia (blue-blind)
#696C7D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #765daf;
/* rgb */ color: rgb(118, 93, 175);
/* oklch */ color: oklch(54.0% 0.126 296.0);
Tailwind
colors: {
  custom: {
    50: '#a08bc7',
    500: '#765daf',
    950: '#000000',
  },
}
SCSS
$custom: #765daf;
$custom-light: #a08bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#765daf",
  "rgb": {
    "r": 118,
    "g": 93,
    "b": 175
  },
  "hsl": {
    "h": 258.293,
    "s": 33.884,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54027,
    "c": 0.12612,
    "h": 296
  },
  "luminance": 0.14775
}

Semantic roles & 50–950 ramp

primary
#765DAF
secondary
#BBC6A2
accent
#CA5EA9
background
#FAF8FC
surface
#F3F0F8
border
#CDCBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #765DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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