#765CD1#765CD1

#765CD1 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.0% C 0.173 H 289.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#765CD1
RGBrgb(118, 92, 209)
HSLhsl(253, 56%, 59%)
HSVhsv(253, 56%, 82%)
CMYKcmyk(43.5%, 56%, 0%, 18%)
CIE-LABlab(47.12, 38.64, -57.14)
CIE-LCHlch(47.12, 68.98, 304.06°)
OKLaboklab(56.01% 0.0589 -0.1627)
OKLCHoklch(56.01% 0.173 289.9)
XYZxyz(22.8038, 16.1085, 62.2170)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765CD1 #B7D15C
analogous
#5C7DD1 #765CD1 #B15CD1
triadic
#765CD1 #D1765C #5CD176
tetradic
#765CD1 #D15C7D #B7D15C #5CD1B1
square
#765CD1 #D15C7D #B7D15C #5CD1B1
split-complementary
#765CD1 #D1B15C #7DD15C
monochromatic
#3E278B #5335BB #765CD1 #9E8CDE #C6BBEC

Accessibility & contrast

On white

4.97
#765CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#765CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765CD1
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765CD1#FFFFFF#000000##FFFFFF
##765CD11.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1972D5
Deuteranopia (green-blind)
#1E6DCE
Tritanopia (blue-blind)
#5B768E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #765cd1;
/* rgb */ color: rgb(118, 92, 209);
/* oklch */ color: oklch(56.0% 0.173 289.9);
Tailwind
colors: {
  custom: {
    50: '#a38be0',
    500: '#765cd1',
    950: '#000000',
  },
}
SCSS
$custom: #765cd1;
$custom-light: #a38be0;
$custom-dark: #000000;
JSON
{
  "hex": "#765cd1",
  "rgb": {
    "r": 118,
    "g": 92,
    "b": 209
  },
  "hsl": {
    "h": 253.333,
    "s": 55.981,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56014,
    "c": 0.17307,
    "h": 289.9
  },
  "luminance": 0.16109
}

Semantic roles & 50–950 ramp

primary
#765CD1
secondary
#D1DBAD
accent
#DF49BE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #765CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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