#765DDD#765DDD

#765DDD is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.0% C 0.187 H 287.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#765DDD
RGBrgb(118, 93, 221)
HSLhsl(252, 65%, 62%)
HSVhsv(252, 58%, 87%)
CMYKcmyk(46.6%, 57.9%, 0%, 13.3%)
CIE-LABlab(48.13, 41.48, -62.34)
CIE-LCHlch(48.13, 74.88, 303.64°)
OKLaboklab(57.02% 0.0577 -0.178)
OKLCHoklch(57.02% 0.187 287.9)
XYZxyz(24.4330, 16.8997, 70.3672)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765DDD #C4DD5D
analogous
#5D84DD #765DDD #B65DDD
triadic
#765DDD #DD765D #5DDD76
tetradic
#765DDD #DD5D84 #C4DD5D #5DDDB6
square
#765DDD #DD5D84 #C4DD5D #5DDDB6
split-complementary
#765DDD #DDB65D #84DD5D
monochromatic
#3A219E #4C2CD1 #765DDD #A190E8 #CCC2F2

Accessibility & contrast

On white

4.79
#765DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#765DDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765DDD
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765DDD#FFFFFF#000000##FFFFFF
##765DDD1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #765ddd;
/* rgb */ color: rgb(118, 93, 221);
/* oklch */ color: oklch(57.0% 0.187 287.9);
Tailwind
colors: {
  custom: {
    50: '#a48ce8',
    500: '#765ddd',
    950: '#000000',
  },
}
SCSS
$custom: #765ddd;
$custom-light: #a48ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#765ddd",
  "rgb": {
    "r": 118,
    "g": 93,
    "b": 221
  },
  "hsl": {
    "h": 251.719,
    "s": 65.306,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57017,
    "c": 0.18715,
    "h": 287.9
  },
  "luminance": 0.16901
}

Semantic roles & 50–950 ramp

primary
#765DDD
secondary
#D9E3B3
accent
#CD18AA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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