#765DD7#765DD7

#765DD7 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.6% C 0.179 H 288.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#765DD7
RGBrgb(118, 93, 215)
HSLhsl(252, 60%, 60%)
HSVhsv(252, 57%, 84%)
CMYKcmyk(45.1%, 56.7%, 0%, 15.7%)
CIE-LABlab(47.73, 39.76, -59.57)
CIE-LCHlch(47.73, 71.62, 303.72°)
OKLaboklab(56.6% 0.0577 -0.1699)
OKLCHoklch(56.6% 0.179 288.8)
XYZxyz(23.6478, 16.5856, 66.2322)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765DD7 #BED75D
analogous
#5D81D7 #765DD7 #B35DD7
triadic
#765DD7 #D7765D #5DD776
tetradic
#765DD7 #D75D81 #BED75D #5DD7B3
square
#765DD7 #D75D81 #BED75D #5DD7B3
split-complementary
#765DD7 #D7B35D #81D75D
monochromatic
#3C2595 #4F31C6 #765DD7 #A08EE3 #C9BFEF

Accessibility & contrast

On white

4.86
#765DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#765DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765DD7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765DD7#FFFFFF#000000##FFFFFF
##765DD71.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C74DB
Deuteranopia (green-blind)
#126ED4
Tritanopia (blue-blind)
#587891
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #765dd7;
/* rgb */ color: rgb(118, 93, 215);
/* oklch */ color: oklch(56.6% 0.179 288.8);
Tailwind
colors: {
  custom: {
    50: '#a48ce4',
    500: '#765dd7',
    950: '#000000',
  },
}
SCSS
$custom: #765dd7;
$custom-light: #a48ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#765dd7",
  "rgb": {
    "r": 118,
    "g": 93,
    "b": 215
  },
  "hsl": {
    "h": 252.295,
    "s": 60.396,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56595,
    "c": 0.17944,
    "h": 288.8
  },
  "luminance": 0.16587
}

Semantic roles & 50–950 ramp

primary
#765DD7
secondary
#D6DFB1
accent
#C81DA5
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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