#765DCD#765DCD

#765DCD is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.9% C 0.166 H 290.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#765DCD
RGBrgb(118, 93, 205)
HSLhsl(253, 53%, 58%)
HSVhsv(253, 55%, 80%)
CMYKcmyk(42.4%, 54.6%, 0%, 19.6%)
CIE-LABlab(47.09, 36.92, -54.89)
CIE-LCHlch(47.09, 66.15, 303.92°)
OKLaboklab(55.91% 0.0576 -0.1561)
OKLCHoklch(55.91% 0.166 290.2)
XYZxyz(22.4020, 16.0873, 59.6706)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765DCD #B4CD5D
analogous
#5D7CCD #765DCD #AE5DCD
triadic
#765DCD #CD765D #5DCD76
tetradic
#765DCD #CD5D7C #B4CD5D #5DCDAE
square
#765DCD #CD5D7C #B4CD5D #5DCDAE
split-complementary
#765DCD #CDAE5D #7CCD5D
monochromatic
#3E2986 #5438B5 #765DCD #9E8CDB #C5BBEA

Accessibility & contrast

On white

4.98
#765DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #765DCD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765DCD#FFFFFF#000000##FFFFFF
##765DCD1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2472D1
Deuteranopia (green-blind)
#286DCB
Tritanopia (blue-blind)
#5D758C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #765dcd;
/* rgb */ color: rgb(118, 93, 205);
/* oklch */ color: oklch(55.9% 0.166 290.2);
Tailwind
colors: {
  custom: {
    50: '#a38bdd',
    500: '#765dcd',
    950: '#000000',
  },
}
SCSS
$custom: #765dcd;
$custom-light: #a38bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#765dcd",
  "rgb": {
    "r": 118,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 253.393,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55912,
    "c": 0.16643,
    "h": 290.2
  },
  "luminance": 0.16088
}

Semantic roles & 50–950 ramp

primary
#765DCD
secondary
#CFD9AD
accent
#DC4CBC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #765DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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