#765CD9#765CD9

#765CD9 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.6% C 0.183 H 288.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#765CD9
RGBrgb(118, 92, 217)
HSLhsl(252, 62%, 61%)
HSVhsv(252, 58%, 85%)
CMYKcmyk(45.6%, 57.6%, 0%, 14.9%)
CIE-LABlab(47.64, 40.91, -60.86)
CIE-LCHlch(47.64, 73.33, 303.91°)
OKLaboklab(56.57% 0.0588 -0.1737)
OKLCHoklch(56.57% 0.183 288.7)
XYZxyz(23.8192, 16.5147, 67.5648)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765CD9 #BFD95C
analogous
#5C80D9 #765CD9 #B45CD9
triadic
#765CD9 #D9765C #5CD976
tetradic
#765CD9 #D95C80 #BFD95C #5CD9B4
square
#765CD9 #D95C80 #BFD95C #5CD9B4
split-complementary
#765CD9 #D9B45C #80D95C
monochromatic
#3B2397 #4F2FC9 #765CD9 #A08EE5 #C9BFF0

Accessibility & contrast

On white

4.88
#765CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#765CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765CD9
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765CD9#FFFFFF#000000##FFFFFF
##765CD91.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#026ED6
Tritanopia (blue-blind)
#577892
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #765cd9;
/* rgb */ color: rgb(118, 92, 217);
/* oklch */ color: oklch(56.6% 0.183 288.7);
Tailwind
colors: {
  custom: {
    50: '#a48be5',
    500: '#765cd9',
    950: '#000000',
  },
}
SCSS
$custom: #765cd9;
$custom-light: #a48be5;
$custom-dark: #000000;
JSON
{
  "hex": "#765cd9",
  "rgb": {
    "r": 118,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 252.48,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5657,
    "c": 0.18339,
    "h": 288.7
  },
  "luminance": 0.16516
}

Semantic roles & 50–950 ramp

primary
#765CD9
secondary
#D6E0B1
accent
#CA1CA6
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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