#765DDC#765DDC

#765DDC is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.9% C 0.186 H 288.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#765DDC
RGBrgb(118, 93, 220)
HSLhsl(252, 64%, 61%)
HSVhsv(252, 58%, 86%)
CMYKcmyk(46.4%, 57.7%, 0%, 13.7%)
CIE-LABlab(48.07, 41.19, -61.88)
CIE-LCHlch(48.07, 74.34, 303.65°)
OKLaboklab(56.95% 0.0577 -0.1767)
OKLCHoklch(56.95% 0.186 288.1)
XYZxyz(24.3001, 16.8466, 69.6676)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765DDC #C3DC5D
analogous
#5D84DC #765DDC #B65DDC
triadic
#765DDC #DC765D #5DDC76
tetradic
#765DDC #DC5D84 #C3DC5D #5DDCB6
square
#765DDC #DC5D84 #C3DC5D #5DDCB6
split-complementary
#765DDC #DCB65D #84DC5D
monochromatic
#3A229D #4D2DCF #765DDC #A18FE7 #CBC2F2

Accessibility & contrast

On white

4.81
#765DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#765DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765DDC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765DDC#FFFFFF#000000##FFFFFF
##765DDC1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#557A94
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #765ddc;
/* rgb */ color: rgb(118, 93, 220);
/* oklch */ color: oklch(56.9% 0.186 288.1);
Tailwind
colors: {
  custom: {
    50: '#a48ce8',
    500: '#765ddc',
    950: '#000000',
  },
}
SCSS
$custom: #765ddc;
$custom-light: #a48ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#765ddc",
  "rgb": {
    "r": 118,
    "g": 93,
    "b": 220
  },
  "hsl": {
    "h": 251.811,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56946,
    "c": 0.18587,
    "h": 288.1
  },
  "luminance": 0.16848
}

Semantic roles & 50–950 ramp

primary
#765DDC
secondary
#D9E2B3
accent
#CC19A9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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