#765DD4#765DD4

#765DD4 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.4% C 0.176 H 289.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#765DD4
RGBrgb(118, 93, 212)
HSLhsl(253, 58%, 60%)
HSVhsv(253, 56%, 83%)
CMYKcmyk(44.3%, 56.1%, 0%, 16.9%)
CIE-LABlab(47.54, 38.91, -58.18)
CIE-LCHlch(47.54, 69.99, 303.77°)
OKLaboklab(56.39% 0.0577 -0.1658)
OKLCHoklch(56.39% 0.176 289.2)
XYZxyz(23.2659, 16.4329, 64.2206)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765DD4 #BBD45D
analogous
#5D80D4 #765DD4 #B25DD4
triadic
#765DD4 #D4765D #5DD476
tetradic
#765DD4 #D45D80 #BBD45D #5DD4B2
square
#765DD4 #D45D80 #BBD45D #5DD4B2
split-complementary
#765DD4 #D4B25D #80D45D
monochromatic
#3D2690 #5133C1 #765DD4 #9F8DE1 #C8BEEE

Accessibility & contrast

On white

4.90
#765DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#765DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765DD4
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765DD4#FFFFFF#000000##FFFFFF
##765DD41.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1673D8
Deuteranopia (green-blind)
#1B6ED1
Tritanopia (blue-blind)
#5A778F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #765dd4;
/* rgb */ color: rgb(118, 93, 212);
/* oklch */ color: oklch(56.4% 0.176 289.2);
Tailwind
colors: {
  custom: {
    50: '#a38ce2',
    500: '#765dd4',
    950: '#000000',
  },
}
SCSS
$custom: #765dd4;
$custom-light: #a38ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#765dd4",
  "rgb": {
    "r": 118,
    "g": 93,
    "b": 212
  },
  "hsl": {
    "h": 252.605,
    "s": 58.049,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56387,
    "c": 0.17556,
    "h": 289.2
  },
  "luminance": 0.16434
}

Semantic roles & 50–950 ramp

primary
#765DD4
secondary
#D4DDAF
accent
#E147C1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #765DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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