#765CD4#765CD4

#765CD4 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.2% C 0.177 H 289.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#765CD4
RGBrgb(118, 92, 212)
HSLhsl(253, 58%, 60%)
HSVhsv(253, 57%, 83%)
CMYKcmyk(44.3%, 56.6%, 0%, 16.9%)
CIE-LABlab(47.31, 39.49, -58.54)
CIE-LCHlch(47.31, 70.61, 304.00°)
OKLaboklab(56.22% 0.0589 -0.1669)
OKLCHoklch(56.22% 0.177 289.4)
XYZxyz(23.1787, 16.2585, 64.1915)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765CD4 #BAD45C
analogous
#5C7ED4 #765CD4 #B25CD4
triadic
#765CD4 #D4765C #5CD476
tetradic
#765CD4 #D45C7E #BAD45C #5CD4B2
square
#765CD4 #D45C7E #BAD45C #5CD4B2
split-complementary
#765CD4 #D4B25C #7ED45C
monochromatic
#3D2690 #5133C0 #765CD4 #9F8CE1 #C7BDEE

Accessibility & contrast

On white

4.94
#765CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#765CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765CD4
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765CD4#FFFFFF#000000##FFFFFF
##765CD41.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1073D8
Deuteranopia (green-blind)
#176DD1
Tritanopia (blue-blind)
#5A768F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #765cd4;
/* rgb */ color: rgb(118, 92, 212);
/* oklch */ color: oklch(56.2% 0.177 289.4);
Tailwind
colors: {
  custom: {
    50: '#a38be2',
    500: '#765cd4',
    950: '#000000',
  },
}
SCSS
$custom: #765cd4;
$custom-light: #a38be2;
$custom-dark: #000000;
JSON
{
  "hex": "#765cd4",
  "rgb": {
    "r": 118,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 253,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56221,
    "c": 0.17695,
    "h": 289.4
  },
  "luminance": 0.16259
}

Semantic roles & 50–950 ramp

primary
#765CD4
secondary
#D3DDAF
accent
#E146C0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #765CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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